#C9417E#C9417E

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

Color values

HEX#C9417E
RGBrgb(201, 65, 126)
HSLhsl(333, 56%, 52%)
HSVhsv(333, 68%, 79%)
CMYKcmyk(0%, 67.7%, 37.3%, 21.2%)
CIE-LABlab(49.14, 58.69, -4.31)
CIE-LCHlch(49.14, 58.85, 355.80°)
OKLaboklab(58.52% 0.1797 -0.0106)
OKLCHoklch(58.52% 0.18 356.6)
XYZxyz(29.7455, 17.7079, 21.5862)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9417E #41C98C
analogous
#C941C2 #C9417E #C94841
triadic
#C9417E #7EC941 #417EC9
tetradic
#C9417E #C2C941 #41C98C #4841C9
square
#C9417E #C2C941 #41C98C #4841C9
split-complementary
#C9417E #41C948 #41C2C9
monochromatic
#702044 #9F2D61 #C9417E #D7719E #E4A0BF

Accessibility & contrast

On white

4.62
#C9417E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C9417E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9417E#FFFFFF#000000##FFFFFF
##C9417E1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6580
Deuteranopia (green-blind)
#7F7E7B
Tritanopia (blue-blind)
#D9345A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c9417e;
/* rgb */ color: rgb(201, 65, 126);
/* oklch */ color: oklch(58.5% 0.180 356.6);
Tailwind
colors: {
  custom: {
    50: '#de7fa3',
    500: '#c9417e',
    950: '#000000',
  },
}
SCSS
$custom: #c9417e;
$custom-light: #de7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#c9417e",
  "rgb": {
    "r": 201,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 333.088,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58516,
    "c": 0.18001,
    "h": 356.6
  },
  "luminance": 0.17704
}

Semantic roles & 50–950 ramp

primary
#C9417E
secondary
#95D1B6
accent
#DF9C49
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #C9417E

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

Preview Lab → · Contrast checker → · Palette generator →

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