#CF407A#CF407A

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

Color values

HEX#CF407A
RGBrgb(207, 64, 122)
HSLhsl(336, 60%, 53%)
HSVhsv(336, 69%, 81%)
CMYKcmyk(0%, 69.1%, 41.1%, 18.8%)
CIE-LABlab(49.91, 60.39, -0.64)
CIE-LCHlch(49.91, 60.39, 359.39°)
OKLaboklab(59.24% 0.185 -0.001)
OKLCHoklch(59.24% 0.185 359.7)
XYZxyz(31.0806, 18.3411, 20.3121)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF407A #40CF95
analogous
#CF40C2 #CF407A #CF4D40
triadic
#CF407A #7ACF40 #407ACF
tetradic
#CF407A #C2CF40 #40CF95 #4D40CF
square
#CF407A #C2CF40 #40CF95 #4D40CF
split-complementary
#CF407A #40CF4D #40C2CF
monochromatic
#771E42 #A82A5D #CF407A #DB719C #E8A2BE

Accessibility & contrast

On white

4.50
#CF407A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF407A#FFFFFF#000000##000000
##CF407A1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D657C
Deuteranopia (green-blind)
#848177
Tritanopia (blue-blind)
#E02E58
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf407a;
/* rgb */ color: rgb(207, 64, 122);
/* oklch */ color: oklch(59.2% 0.185 359.7);
Tailwind
colors: {
  custom: {
    50: '#e37fa0',
    500: '#cf407a',
    950: '#000000',
  },
}
SCSS
$custom: #cf407a;
$custom-light: #e37fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf407a",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 335.664,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59236,
    "c": 0.18503,
    "h": 359.7
  },
  "luminance": 0.18337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF407A

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

Preview Lab → · Contrast checker → · Palette generator →

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