#C9417D#C9417D

#C9417D is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.5% C 0.180 H 357.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C9417D
RGBrgb(201, 65, 125)
HSLhsl(334, 56%, 52%)
HSVhsv(334, 68%, 79%)
CMYKcmyk(0%, 67.7%, 37.8%, 21.2%)
CIE-LABlab(49.11, 58.58, -3.75)
CIE-LCHlch(49.11, 58.70, 356.34°)
OKLaboklab(58.48% 0.1794 -0.0091)
OKLCHoklch(58.48% 0.18 357.1)
XYZxyz(29.6812, 17.6823, 21.2480)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9417D #41C98D
analogous
#C941C1 #C9417D #C94941
triadic
#C9417D #7DC941 #417DC9
tetradic
#C9417D #C1C941 #41C98D #4941C9
square
#C9417D #C1C941 #41C98D #4941C9
split-complementary
#C9417D #41C949 #41C1C9
monochromatic
#702043 #9F2D60 #C9417D #D7719E #E4A0BE

Accessibility & contrast

On white

4.63
#C9417D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C9417D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C9417D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9417D#FFFFFF#000000##FFFFFF
##C9417D1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A657F
Deuteranopia (green-blind)
#7F7E7A
Tritanopia (blue-blind)
#D9335A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c9417d;
/* rgb */ color: rgb(201, 65, 125);
/* oklch */ color: oklch(58.5% 0.180 357.1);
Tailwind
colors: {
  custom: {
    50: '#de7fa2',
    500: '#c9417d',
    950: '#000000',
  },
}
SCSS
$custom: #c9417d;
$custom-light: #de7fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c9417d",
  "rgb": {
    "r": 201,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 333.529,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58483,
    "c": 0.17962,
    "h": 357.1
  },
  "luminance": 0.17679
}

Semantic roles & 50–950 ramp

primary
#C9417D
secondary
#95D1B6
accent
#DF9D49
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #C9417D

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

Preview Lab → · Contrast checker → · Palette generator →

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