#CF407D#CF407D

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

Color values

HEX#CF407D
RGBrgb(207, 64, 125)
HSLhsl(334, 60%, 53%)
HSVhsv(334, 69%, 81%)
CMYKcmyk(0%, 69.1%, 39.6%, 18.8%)
CIE-LABlab(50.00, 60.70, -2.32)
CIE-LCHlch(50.00, 60.74, 357.81°)
OKLaboklab(59.33% 0.186 -0.0053)
OKLCHoklch(59.33% 0.186 358.4)
XYZxyz(31.2693, 18.4166, 21.3062)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF407D #40CF92
analogous
#CF40C4 #CF407D #CF4A40
triadic
#CF407D #7DCF40 #407DCF
tetradic
#CF407D #C4CF40 #40CF92 #4A40CF
square
#CF407D #C4CF40 #40CF92 #4A40CF
split-complementary
#CF407D #40CF4A #40C4CF
monochromatic
#771E44 #A82A60 #CF407D #DB719E #E8A2C0

Accessibility & contrast

On white

4.48
#CF407D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF407D#FFFFFF#000000##000000
##CF407D1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C667F
Deuteranopia (green-blind)
#83817A
Tritanopia (blue-blind)
#E03059
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf407d;
/* rgb */ color: rgb(207, 64, 125);
/* oklch */ color: oklch(59.3% 0.186 358.4);
Tailwind
colors: {
  custom: {
    50: '#e37fa2',
    500: '#cf407d',
    950: '#000000',
  },
}
SCSS
$custom: #cf407d;
$custom-light: #e37fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf407d",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 334.406,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59332,
    "c": 0.18608,
    "h": 358.4
  },
  "luminance": 0.18413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF407D

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

Preview Lab → · Contrast checker → · Palette generator →

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