#CF417C#CF417C

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

Color values

HEX#CF417C
RGBrgb(207, 65, 124)
HSLhsl(335, 60%, 53%)
HSVhsv(335, 69%, 81%)
CMYKcmyk(0%, 68.6%, 40.1%, 18.8%)
CIE-LABlab(50.10, 60.22, -1.57)
CIE-LCHlch(50.10, 60.24, 358.51°)
OKLaboklab(59.4% 0.1845 -0.0034)
OKLCHoklch(59.4% 0.185 359)
XYZxyz(31.2626, 18.5050, 20.9904)
Luminance0.1850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF417C #41CF94
analogous
#CF41C3 #CF417C #CF4D41
triadic
#CF417C #7CCF41 #417CCF
tetradic
#CF417C #C3CF41 #41CF94 #4D41CF
square
#CF417C #C3CF41 #41CF94 #4D41CF
split-complementary
#CF417C #41CF4D #41C3CF
monochromatic
#771E43 #A82B5F #CF417C #DB729E #E8A3BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF417C#FFFFFF#000000##000000
##CF417C1.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)
#5D667E
Deuteranopia (green-blind)
#838179
Tritanopia (blue-blind)
#E03059
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf417c;
/* rgb */ color: rgb(207, 65, 124);
/* oklch */ color: oklch(59.4% 0.185 359.0);
Tailwind
colors: {
  custom: {
    50: '#e37fa1',
    500: '#cf417c',
    950: '#000000',
  },
}
SCSS
$custom: #cf417c;
$custom-light: #e37fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf417c",
  "rgb": {
    "r": 207,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 335.07,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.594,
    "c": 0.18452,
    "h": 359
  },
  "luminance": 0.18501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF417C

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

Preview Lab → · Contrast checker → · Palette generator →

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