#C0408F#C0408F

#C0408F is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.6% C 0.182 H 346.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C0408F
RGBrgb(192, 64, 143)
HSLhsl(323, 50%, 50%)
HSVhsv(323, 67%, 75%)
CMYKcmyk(0%, 66.7%, 25.5%, 24.7%)
CIE-LABlab(48.08, 58.56, -16.29)
CIE-LCHlch(48.08, 60.79, 344.46°)
OKLaboklab(57.65% 0.1771 -0.0431)
OKLCHoklch(57.65% 0.182 346.3)
XYZxyz(28.5307, 16.8593, 27.7329)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0408F #40C071
analogous
#B140C0 #C0408F #C0404F
triadic
#C0408F #8FC040 #408FC0
tetradic
#C0408F #C0B140 #40C071 #404FC0
square
#C0408F #C0B140 #40C071 #404FC0
split-complementary
#C0408F #4FC040 #40C0B1
monochromatic
#64214B #92306D #C0408F #CF6EAA #DE9CC5

Accessibility & contrast

On white

4.80
#C0408F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C0408F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0408F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0408F#FFFFFF#000000##FFFFFF
##C0408F1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6491
Deuteranopia (green-blind)
#747A8C
Tritanopia (blue-blind)
#CD3D62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c0408f;
/* rgb */ color: rgb(192, 64, 143);
/* oklch */ color: oklch(57.6% 0.182 346.3);
Tailwind
colors: {
  custom: {
    50: '#d77eb0',
    500: '#c0408f',
    950: '#000000',
  },
}
SCSS
$custom: #c0408f;
$custom-light: #d77eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#c0408f",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 322.969,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57646,
    "c": 0.1823,
    "h": 346.3
  },
  "luminance": 0.16856
}

Semantic roles & 50–950 ramp

primary
#C0408F
secondary
#91CBA7
accent
#DA834E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C0408F

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

Preview Lab → · Contrast checker → · Palette generator →

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