#CF3872#CF3872

#CF3872 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.2% C 0.192 H 2.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CF3872
RGBrgb(207, 56, 114)
HSLhsl(337, 61%, 52%)
HSVhsv(337, 73%, 81%)
CMYKcmyk(0%, 72.9%, 44.9%, 18.8%)
CIE-LABlab(48.65, 62.46, 2.38)
CIE-LCHlch(48.65, 62.51, 2.18°)
OKLaboklab(58.23% 0.1914 0.0068)
OKLCHoklch(58.23% 0.192 2)
XYZxyz(30.1859, 17.3126, 17.6684)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3872 #38CF95
analogous
#CF38BD #CF3872 #CF4A38
triadic
#CF3872 #72CF38 #3872CF
tetradic
#CF3872 #BDCF38 #38CF95 #4A38CF
square
#CF3872 #BDCF38 #38CF95 #4A38CF
split-complementary
#CF3872 #38CF4A #38BDCF
monochromatic
#711B3C #A32757 #CF3872 #DB6995 #E79BB8

Accessibility & contrast

On white

4.71
#CF3872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CF3872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3872
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3872#FFFFFF#000000##FFFFFF
##CF38721.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6173
Deuteranopia (green-blind)
#827E6E
Tritanopia (blue-blind)
#E11E51
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf3872;
/* rgb */ color: rgb(207, 56, 114);
/* oklch */ color: oklch(58.2% 0.192 2.0);
Tailwind
colors: {
  custom: {
    50: '#e37b9a',
    500: '#cf3872',
    950: '#000000',
  },
}
SCSS
$custom: #cf3872;
$custom-light: #e37b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3872",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 336.954,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58233,
    "c": 0.19156,
    "h": 2
  },
  "luminance": 0.17309
}

Semantic roles & 50–950 ramp

primary
#CF3872
secondary
#90D3B9
accent
#E4A744
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #CF3872

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

Preview Lab → · Contrast checker → · Palette generator →

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