#C0408E#C0408E

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

Color values

HEX#C0408E
RGBrgb(192, 64, 142)
HSLhsl(323, 50%, 50%)
HSVhsv(323, 67%, 75%)
CMYKcmyk(0%, 66.7%, 26%, 24.7%)
CIE-LABlab(48.04, 58.43, -15.75)
CIE-LCHlch(48.04, 60.52, 344.92°)
OKLaboklab(57.61% 0.1769 -0.0416)
OKLCHoklch(57.61% 0.182 346.8)
XYZxyz(28.4553, 16.8292, 27.3357)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0408E #40C072
analogous
#B240C0 #C0408E #C0404E
triadic
#C0408E #8EC040 #408EC0
tetradic
#C0408E #C0B240 #40C072 #404EC0
square
#C0408E #C0B240 #40C072 #404EC0
split-complementary
#C0408E #4EC040 #40C0B2
monochromatic
#64214A #92306C #C0408E #CF6EA9 #DE9CC4

Accessibility & contrast

On white

4.81
#C0408E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C0408E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0408E#FFFFFF#000000##FFFFFF
##C0408E1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6490
Deuteranopia (green-blind)
#747A8B
Tritanopia (blue-blind)
#CD3D61
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c0408e;
/* rgb */ color: rgb(192, 64, 142);
/* oklch */ color: oklch(57.6% 0.182 346.8);
Tailwind
colors: {
  custom: {
    50: '#d77eaf',
    500: '#c0408e',
    950: '#000000',
  },
}
SCSS
$custom: #c0408e;
$custom-light: #d77eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#c0408e",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 323.438,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.18171,
    "h": 346.8
  },
  "luminance": 0.16826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0408E

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

Preview Lab → · Contrast checker → · Palette generator →

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