#CF407C#CF407C

#CF407C is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.3% C 0.186 H 358.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CF407C
RGBrgb(207, 64, 124)
HSLhsl(335, 60%, 53%)
HSVhsv(335, 69%, 81%)
CMYKcmyk(0%, 69.1%, 40.1%, 18.8%)
CIE-LABlab(49.97, 60.59, -1.76)
CIE-LCHlch(49.97, 60.62, 358.33°)
OKLaboklab(59.3% 0.1857 -0.0039)
OKLCHoklch(59.3% 0.186 358.8)
XYZxyz(31.2057, 18.3912, 20.9714)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF407C #40CF93
analogous
#CF40C4 #CF407C #CF4B40
triadic
#CF407C #7CCF40 #407CCF
tetradic
#CF407C #C4CF40 #40CF93 #4B40CF
square
#CF407C #C4CF40 #40CF93 #4B40CF
split-complementary
#CF407C #40CF4B #40C4CF
monochromatic
#771E43 #A82A5F #CF407C #DB719E #E8A2BF

Accessibility & contrast

On white

4.49
#CF407C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CF407C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF407C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF407C#FFFFFF#000000##000000
##CF407C1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C667E
Deuteranopia (green-blind)
#838179
Tritanopia (blue-blind)
#E02F59
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf407c;
/* rgb */ color: rgb(207, 64, 124);
/* oklch */ color: oklch(59.3% 0.186 358.8);
Tailwind
colors: {
  custom: {
    50: '#e37fa1',
    500: '#cf407c',
    950: '#000000',
  },
}
SCSS
$custom: #cf407c;
$custom-light: #e37fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf407c",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 334.825,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59299,
    "c": 0.18572,
    "h": 358.8
  },
  "luminance": 0.18387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF407C

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

Preview Lab → · Contrast checker → · Palette generator →

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