#CF3072#CF3072

#CF3072 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.6% C 0.200 H 1.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CF3072
RGBrgb(207, 48, 114)
HSLhsl(335, 62%, 50%)
HSVhsv(335, 77%, 81%)
CMYKcmyk(0%, 76.8%, 44.9%, 18.8%)
CIE-LABlab(47.75, 65.00, 1.07)
CIE-LCHlch(47.75, 65.01, 0.94°)
OKLaboklab(57.57% 0.1996 0.0035)
OKLCHoklch(57.57% 0.2 1)
XYZxyz(29.8287, 16.5982, 17.5494)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3072 #30CF8D
analogous
#CF30C2 #CF3072 #CF3D30
triadic
#CF3072 #72CF30 #3072CF
tetradic
#CF3072 #C2CF30 #30CF8D #3D30CF
square
#CF3072 #C2CF30 #30CF8D #3D30CF
split-complementary
#CF3072 #30CF3D #30C2CF
monochromatic
#6C193B #9D2457 #CF3072 #DB6294 #E693B6

Accessibility & contrast

On white

4.86
#CF3072 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#CF3072 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3072
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3072#FFFFFF#000000##FFFFFF
##CF30721.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555E74
Deuteranopia (green-blind)
#807C6E
Tritanopia (blue-blind)
#E10B4D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cf3072;
/* rgb */ color: rgb(207, 48, 114);
/* oklch */ color: oklch(57.6% 0.200 1.0);
Tailwind
colors: {
  custom: {
    50: '#e4789a',
    500: '#cf3072',
    950: '#000000',
  },
}
SCSS
$custom: #cf3072;
$custom-light: #e4789a;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3072",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 114
  },
  "hsl": {
    "h": 335.094,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.5757,
    "c": 0.1996,
    "h": 1
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

primary
#CF3072
secondary
#8AD1B3
accent
#E5A242
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #CF3072

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

Preview Lab → · Contrast checker → · Palette generator →

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