#C0408D#C0408D

#C0408D is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.6% C 0.181 H 347.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C0408D
RGBrgb(192, 64, 141)
HSLhsl(324, 50%, 50%)
HSVhsv(324, 67%, 75%)
CMYKcmyk(0%, 66.7%, 26.6%, 24.7%)
CIE-LABlab(48.01, 58.30, -15.21)
CIE-LCHlch(48.01, 60.25, 345.38°)
OKLaboklab(57.57% 0.1767 -0.0401)
OKLCHoklch(57.57% 0.181 347.2)
XYZxyz(28.3805, 16.7993, 26.9421)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0408D #40C073
analogous
#B340C0 #C0408D #C0404D
triadic
#C0408D #8DC040 #408DC0
tetradic
#C0408D #C0B340 #40C073 #404DC0
square
#C0408D #C0B340 #40C073 #404DC0
split-complementary
#C0408D #4DC040 #40C0B3
monochromatic
#64214A #92306B #C0408D #CF6EA8 #DE9CC4

Accessibility & contrast

On white

4.82
#C0408D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C0408D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0408D
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0408D#FFFFFF#000000##FFFFFF
##C0408D1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50648F
Deuteranopia (green-blind)
#757A8A
Tritanopia (blue-blind)
#CD3C61
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c0408d;
/* rgb */ color: rgb(192, 64, 141);
/* oklch */ color: oklch(57.6% 0.181 347.2);
Tailwind
colors: {
  custom: {
    50: '#d77eae',
    500: '#c0408d',
    950: '#000000',
  },
}
SCSS
$custom: #c0408d;
$custom-light: #d77eae;
$custom-dark: #000000;
JSON
{
  "hex": "#c0408d",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 323.906,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57565,
    "c": 0.18114,
    "h": 347.2
  },
  "luminance": 0.16796
}

Semantic roles & 50–950 ramp

primary
#C0408D
secondary
#91CBA8
accent
#DA864E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C0408D

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

Preview Lab → · Contrast checker → · Palette generator →

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