#CF417D#CF417D

#CF417D is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.4% C 0.185 H 358.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CF417D
RGBrgb(207, 65, 125)
HSLhsl(335, 60%, 53%)
HSVhsv(335, 69%, 81%)
CMYKcmyk(0%, 68.6%, 39.6%, 18.8%)
CIE-LABlab(50.13, 60.32, -2.12)
CIE-LCHlch(50.13, 60.36, 357.98°)
OKLaboklab(59.43% 0.1848 -0.0048)
OKLCHoklch(59.43% 0.185 358.5)
XYZxyz(31.3262, 18.5304, 21.3251)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF417D #41CF93
analogous
#CF41C4 #CF417D #CF4C41
triadic
#CF417D #7DCF41 #417DCF
tetradic
#CF417D #C4CF41 #41CF93 #4C41CF
square
#CF417D #C4CF41 #41CF93 #4C41CF
split-complementary
#CF417D #41CF4C #41C4CF
monochromatic
#771E44 #A82B60 #CF417D #DB729E #E8A3C0

Accessibility & contrast

On white

4.46
#CF417D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CF417D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF417D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF417D#FFFFFF#000000##000000
##CF417D1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D667F
Deuteranopia (green-blind)
#83817A
Tritanopia (blue-blind)
#E0315A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf417d;
/* rgb */ color: rgb(207, 65, 125);
/* oklch */ color: oklch(59.4% 0.185 358.5);
Tailwind
colors: {
  custom: {
    50: '#e37fa2',
    500: '#cf417d',
    950: '#000000',
  },
}
SCSS
$custom: #cf417d;
$custom-light: #e37fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf417d",
  "rgb": {
    "r": 207,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 334.648,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59432,
    "c": 0.18487,
    "h": 358.5
  },
  "luminance": 0.18527
}

Semantic roles & 50–950 ramp

primary
#CF417D
secondary
#97D4BB
accent
#E3A045
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CF417D

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

Preview Lab → · Contrast checker → · Palette generator →

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