#CF407B#CF407B

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

Color values

HEX#CF407B
RGBrgb(207, 64, 123)
HSLhsl(335, 60%, 53%)
HSVhsv(335, 69%, 81%)
CMYKcmyk(0%, 69.1%, 40.6%, 18.8%)
CIE-LABlab(49.94, 60.49, -1.20)
CIE-LCHlch(49.94, 60.50, 358.86°)
OKLaboklab(59.27% 0.1854 -0.0024)
OKLCHoklch(59.27% 0.185 359.3)
XYZxyz(31.1428, 18.3661, 20.6401)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF407B #40CF94
analogous
#CF40C2 #CF407B #CF4C40
triadic
#CF407B #7BCF40 #407BCF
tetradic
#CF407B #C2CF40 #40CF94 #4C40CF
square
#CF407B #C2CF40 #40CF94 #4C40CF
split-complementary
#CF407B #40CF4C #40C2CF
monochromatic
#771E43 #A82A5E #CF407B #DB719D #E8A2BF

Accessibility & contrast

On white

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

On black

4.67
#CF407B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF407B
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF407B#FFFFFF#000000##000000
##CF407B1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D657D
Deuteranopia (green-blind)
#838178
Tritanopia (blue-blind)
#E02F58
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf407b;
/* rgb */ color: rgb(207, 64, 123);
/* oklch */ color: oklch(59.3% 0.185 359.3);
Tailwind
colors: {
  custom: {
    50: '#e37fa1',
    500: '#cf407b',
    950: '#000000',
  },
}
SCSS
$custom: #cf407b;
$custom-light: #e37fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf407b",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 335.245,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59267,
    "c": 0.18538,
    "h": 359.3
  },
  "luminance": 0.18362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF407B

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

Preview Lab → · Contrast checker → · Palette generator →

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