#CF417B#CF417B

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

Color values

HEX#CF417B
RGBrgb(207, 65, 123)
HSLhsl(335, 60%, 53%)
HSVhsv(335, 69%, 81%)
CMYKcmyk(0%, 68.6%, 40.6%, 18.8%)
CIE-LABlab(50.07, 60.11, -1.01)
CIE-LCHlch(50.07, 60.12, 359.04°)
OKLaboklab(59.37% 0.1842 -0.0019)
OKLCHoklch(59.37% 0.184 359.4)
XYZxyz(31.1997, 18.4799, 20.6590)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF417B #41CF95
analogous
#CF41C2 #CF417B #CF4E41
triadic
#CF417B #7BCF41 #417BCF
tetradic
#CF417B #C2CF41 #41CF95 #4E41CF
square
#CF417B #C2CF41 #41CF95 #4E41CF
split-complementary
#CF417B #41CF4E #41C2CF
monochromatic
#771E43 #A82B5E #CF417B #DB729D #E8A3BF

Accessibility & contrast

On white

4.47
#CF417B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CF417B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF417B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF417B#FFFFFF#000000##000000
##CF417B1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D667D
Deuteranopia (green-blind)
#848178
Tritanopia (blue-blind)
#E03059
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf417b;
/* rgb */ color: rgb(207, 65, 123);
/* oklch */ color: oklch(59.4% 0.184 359.4);
Tailwind
colors: {
  custom: {
    50: '#e37fa1',
    500: '#cf417b',
    950: '#000000',
  },
}
SCSS
$custom: #cf417b;
$custom-light: #e37fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf417b",
  "rgb": {
    "r": 207,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 335.493,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59368,
    "c": 0.18417,
    "h": 359.4
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#CF417B
secondary
#97D4BB
accent
#E3A245
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF417B

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

Preview Lab → · Contrast checker → · Palette generator →

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