#CF4872#CF4872

#CF4872 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.8% C 0.173 H 4.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CF4872
RGBrgb(207, 72, 114)
HSLhsl(341, 58%, 55%)
HSVhsv(341, 65%, 81%)
CMYKcmyk(0%, 65.2%, 44.9%, 18.8%)
CIE-LABlab(50.83, 56.46, 5.51)
CIE-LCHlch(50.83, 56.73, 5.58°)
OKLaboklab(59.84% 0.1723 0.0148)
OKLCHoklch(59.84% 0.173 4.9)
XYZxyz(31.0891, 19.1189, 17.9695)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4872 #48CFA5
analogous
#CF48B6 #CF4872 #CF6148
triadic
#CF4872 #72CF48 #4872CF
tetradic
#CF4872 #B6CF48 #48CFA5 #6148CF
square
#CF4872 #B6CF48 #48CFA5 #6148CF
split-complementary
#CF4872 #48CF61 #48B6CF
monochromatic
#7C213D #AD2D55 #CF4872 #DC7897 #E8A9BD

Accessibility & contrast

On white

4.35
#CF4872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CF4872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4872
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4872#FFFFFF#000000##000000
##CF48721.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#646873
Deuteranopia (green-blind)
#88836F
Tritanopia (blue-blind)
#E03559
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf4872;
/* rgb */ color: rgb(207, 72, 114);
/* oklch */ color: oklch(59.8% 0.173 4.9);
Tailwind
colors: {
  custom: {
    50: '#e3839a',
    500: '#cf4872',
    950: '#000000',
  },
}
SCSS
$custom: #cf4872;
$custom-light: #e3839a;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4872",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 341.333,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59843,
    "c": 0.17292,
    "h": 4.9
  },
  "luminance": 0.19115
}

Semantic roles & 50–950 ramp

primary
#CF4872
secondary
#9DD6C4
accent
#E2B146
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF4872

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

Preview Lab → · Contrast checker → · Palette generator →

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