#C0407C#C0407C

#C0407C is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.9% C 0.173 H 355.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C0407C
RGBrgb(192, 64, 124)
HSLhsl(332, 50%, 50%)
HSVhsv(332, 67%, 75%)
CMYKcmyk(0%, 66.7%, 35.4%, 24.7%)
CIE-LABlab(47.41, 56.23, -5.83)
CIE-LCHlch(47.41, 56.54, 354.08°)
OKLaboklab(56.93% 0.172 -0.0147)
OKLCHoklch(56.93% 0.173 355.1)
XYZxyz(27.2113, 16.3316, 20.7842)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0407C #40C084
analogous
#C040BC #C0407C #C04440
triadic
#C0407C #7CC040 #407CC0
tetradic
#C0407C #BCC040 #40C084 #4440C0
square
#C0407C #BCC040 #40C084 #4440C0
split-complementary
#C0407C #40C044 #40BCC0
monochromatic
#642141 #92305E #C0407C #CF6E9C #DE9CBB

Accessibility & contrast

On white

4.92
#C0407C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C0407C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0407C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0407C#FFFFFF#000000##FFFFFF
##C0407C1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617E
Deuteranopia (green-blind)
#797979
Tritanopia (blue-blind)
#CF3559
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c0407c;
/* rgb */ color: rgb(192, 64, 124);
/* oklch */ color: oklch(56.9% 0.173 355.1);
Tailwind
colors: {
  custom: {
    50: '#d77da1',
    500: '#c0407c',
    950: '#000000',
  },
}
SCSS
$custom: #c0407c;
$custom-light: #d77da1;
$custom-dark: #000000;
JSON
{
  "hex": "#c0407c",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 331.875,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56927,
    "c": 0.17259,
    "h": 355.1
  },
  "luminance": 0.16328
}

Semantic roles & 50–950 ramp

primary
#C0407C
secondary
#91CBB0
accent
#DA984E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #C0407C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C0407C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva