#CF4072#CF4072

#CF4072 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.0% C 0.183 H 3.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CF4072
RGBrgb(207, 64, 114)
HSLhsl(339, 60%, 53%)
HSVhsv(339, 69%, 81%)
CMYKcmyk(0%, 69.1%, 44.9%, 18.8%)
CIE-LABlab(49.68, 59.61, 3.86)
CIE-LCHlch(49.68, 59.73, 3.71°)
OKLaboklab(58.99% 0.1823 0.0106)
OKLCHoklch(58.99% 0.183 3.3)
XYZxyz(30.6051, 18.1510, 17.8082)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4072 #40CF9D
analogous
#CF40B9 #CF4072 #CF5540
triadic
#CF4072 #72CF40 #4072CF
tetradic
#CF4072 #B9CF40 #40CF9D #5540CF
square
#CF4072 #B9CF40 #40CF9D #5540CF
split-complementary
#CF4072 #40CF55 #40B9CF
monochromatic
#771E3D #A82A56 #CF4072 #DB7196 #E8A2BA

Accessibility & contrast

On white

4.54
#CF4072 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CF4072 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4072
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4072#FFFFFF#000000##000000
##CF40721.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6473
Deuteranopia (green-blind)
#85806F
Tritanopia (blue-blind)
#E12A54
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cf4072;
/* rgb */ color: rgb(207, 64, 114);
/* oklch */ color: oklch(59.0% 0.183 3.3);
Tailwind
colors: {
  custom: {
    50: '#e37f9a',
    500: '#cf4072',
    950: '#000000',
  },
}
SCSS
$custom: #cf4072;
$custom-light: #e37f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4072",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 339.021,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58992,
    "c": 0.18262,
    "h": 3.3
  },
  "luminance": 0.18147
}

Semantic roles & 50–950 ramp

primary
#CF4072
secondary
#97D4BF
accent
#E3AC45
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4072

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

Preview Lab → · Contrast checker → · Palette generator →

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