#C0407B#C0407B

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

Color values

HEX#C0407B
RGBrgb(192, 64, 123)
HSLhsl(332, 50%, 50%)
HSVhsv(332, 67%, 75%)
CMYKcmyk(0%, 66.7%, 35.9%, 24.7%)
CIE-LABlab(47.37, 56.12, -5.28)
CIE-LCHlch(47.37, 56.37, 354.63°)
OKLaboklab(56.89% 0.1717 -0.0132)
OKLCHoklch(56.89% 0.172 355.6)
XYZxyz(27.1484, 16.3064, 20.4528)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0407B #40C085
analogous
#C040BB #C0407B #C04540
triadic
#C0407B #7BC040 #407BC0
tetradic
#C0407B #BBC040 #40C085 #4540C0
square
#C0407B #BBC040 #40C085 #4540C0
split-complementary
#C0407B #40C045 #40BBC0
monochromatic
#642140 #92305E #C0407B #CF6E9B #DE9CBB

Accessibility & contrast

On white

4.93
#C0407B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C0407B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0407B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0407B#FFFFFF#000000##FFFFFF
##C0407B1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617D
Deuteranopia (green-blind)
#797978
Tritanopia (blue-blind)
#CF3558
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c0407b;
/* rgb */ color: rgb(192, 64, 123);
/* oklch */ color: oklch(56.9% 0.172 355.6);
Tailwind
colors: {
  custom: {
    50: '#d77da1',
    500: '#c0407b',
    950: '#000000',
  },
}
SCSS
$custom: #c0407b;
$custom-light: #d77da1;
$custom-dark: #000000;
JSON
{
  "hex": "#c0407b",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 332.344,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56892,
    "c": 0.17218,
    "h": 355.6
  },
  "luminance": 0.16303
}

Semantic roles & 50–950 ramp

primary
#C0407B
secondary
#91CBB0
accent
#DA994E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C0407B

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

Preview Lab → · Contrast checker → · Palette generator →

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