#C9417C#C9417C

#C9417C is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.4% C 0.179 H 357.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C9417C
RGBrgb(201, 65, 124)
HSLhsl(334, 56%, 52%)
HSVhsv(334, 68%, 79%)
CMYKcmyk(0%, 67.7%, 38.3%, 21.2%)
CIE-LABlab(49.08, 58.48, -3.19)
CIE-LCHlch(49.08, 58.56, 356.88°)
OKLaboklab(58.45% 0.1791 -0.0076)
OKLCHoklch(58.45% 0.179 357.6)
XYZxyz(29.6177, 17.6568, 20.9133)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9417C #41C98E
analogous
#C941C0 #C9417C #C94A41
triadic
#C9417C #7CC941 #417CC9
tetradic
#C9417C #C0C941 #41C98E #4A41C9
square
#C9417C #C0C941 #41C98E #4A41C9
split-complementary
#C9417C #41C94A #41C0C9
monochromatic
#702043 #9F2D5F #C9417C #D7719D #E4A0BE

Accessibility & contrast

On white

4.64
#C9417C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C9417C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C9417C
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9417C#FFFFFF#000000##FFFFFF
##C9417C1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A647E
Deuteranopia (green-blind)
#807E79
Tritanopia (blue-blind)
#D93359
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c9417c;
/* rgb */ color: rgb(201, 65, 124);
/* oklch */ color: oklch(58.4% 0.179 357.6);
Tailwind
colors: {
  custom: {
    50: '#de7fa1',
    500: '#c9417c',
    950: '#000000',
  },
}
SCSS
$custom: #c9417c;
$custom-light: #de7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c9417c",
  "rgb": {
    "r": 201,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 333.971,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58449,
    "c": 0.17923,
    "h": 357.6
  },
  "luminance": 0.17653
}

Semantic roles & 50–950 ramp

primary
#C9417C
secondary
#95D1B7
accent
#DF9E49
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #C9417C

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

Preview Lab → · Contrast checker → · Palette generator →

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