#CF407F#CF407F

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

Color values

HEX#CF407F
RGBrgb(207, 64, 127)
HSLhsl(334, 60%, 53%)
HSVhsv(334, 69%, 81%)
CMYKcmyk(0%, 69.1%, 38.6%, 18.8%)
CIE-LABlab(50.06, 60.90, -3.44)
CIE-LCHlch(50.06, 61.00, 356.77°)
OKLaboklab(59.4% 0.1866 -0.0083)
OKLCHoklch(59.4% 0.187 357.5)
XYZxyz(31.3984, 18.4683, 21.9858)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF407F #40CF90
analogous
#CF40C7 #CF407F #CF4840
triadic
#CF407F #7FCF40 #407FCF
tetradic
#CF407F #C7CF40 #40CF90 #4840CF
square
#CF407F #C7CF40 #40CF90 #4840CF
split-complementary
#CF407F #40CF48 #40C7CF
monochromatic
#771E45 #A82A61 #CF407F #DB71A0 #E8A2C1

Accessibility & contrast

On white

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

On black

4.69
#CF407F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF407F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF407F#FFFFFF#000000##000000
##CF407F1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6681
Deuteranopia (green-blind)
#82817C
Tritanopia (blue-blind)
#DF305A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf407f;
/* rgb */ color: rgb(207, 64, 127);
/* oklch */ color: oklch(59.4% 0.187 357.5);
Tailwind
colors: {
  custom: {
    50: '#e37fa4',
    500: '#cf407f',
    950: '#000000',
  },
}
SCSS
$custom: #cf407f;
$custom-light: #e37fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf407f",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 333.566,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59397,
    "c": 0.18682,
    "h": 357.5
  },
  "luminance": 0.18464
}

Semantic roles & 50–950 ramp

primary
#CF407F
secondary
#97D4B9
accent
#E39D45
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF407F

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

Preview Lab → · Contrast checker → · Palette generator →

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