#C0408C#C0408C

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

Color values

HEX#C0408C
RGBrgb(192, 64, 140)
HSLhsl(324, 50%, 50%)
HSVhsv(324, 67%, 75%)
CMYKcmyk(0%, 66.7%, 27.1%, 24.7%)
CIE-LABlab(47.97, 58.18, -14.66)
CIE-LCHlch(47.97, 59.99, 345.86°)
OKLaboklab(57.53% 0.1764 -0.0386)
OKLCHoklch(57.53% 0.181 347.7)
XYZxyz(28.3065, 16.7697, 26.5520)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0408C #40C074
analogous
#B440C0 #C0408C #C0404C
triadic
#C0408C #8CC040 #408CC0
tetradic
#C0408C #C0B440 #40C074 #404CC0
square
#C0408C #C0B440 #40C074 #404CC0
split-complementary
#C0408C #4CC040 #40C0B4
monochromatic
#642149 #92306B #C0408C #CF6EA8 #DE9CC3

Accessibility & contrast

On white

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

On black

4.35
#C0408C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C0408C#FFFFFF#000000##FFFFFF
##C0408C1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50648E
Deuteranopia (green-blind)
#757A89
Tritanopia (blue-blind)
#CD3C60
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c0408c;
/* rgb */ color: rgb(192, 64, 140);
/* oklch */ color: oklch(57.5% 0.181 347.7);
Tailwind
colors: {
  custom: {
    50: '#d77ead',
    500: '#c0408c',
    950: '#000000',
  },
}
SCSS
$custom: #c0408c;
$custom-light: #d77ead;
$custom-dark: #000000;
JSON
{
  "hex": "#c0408c",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 324.375,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57525,
    "c": 0.18058,
    "h": 347.7
  },
  "luminance": 0.16767
}

Semantic roles & 50–950 ramp

primary
#C0408C
secondary
#91CBA9
accent
#DA874E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C0408C

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

Preview Lab → · Contrast checker → · Palette generator →

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