#CF4871#CF4871

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

Color values

HEX#CF4871
RGBrgb(207, 72, 113)
HSLhsl(342, 58%, 55%)
HSVhsv(342, 65%, 81%)
CMYKcmyk(0%, 65.2%, 45.4%, 18.8%)
CIE-LABlab(50.80, 56.36, 6.08)
CIE-LCHlch(50.80, 56.69, 6.15°)
OKLaboklab(59.81% 0.1719 0.0162)
OKLCHoklch(59.81% 0.173 5.4)
XYZxyz(31.0325, 19.0962, 17.6713)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4871 #48CFA6
analogous
#CF48B5 #CF4871 #CF6348
triadic
#CF4871 #71CF48 #4871CF
tetradic
#CF4871 #B5CF48 #48CFA6 #6348CF
square
#CF4871 #B5CF48 #48CFA6 #6348CF
split-complementary
#CF4871 #48CF63 #48B5CF
monochromatic
#7C213C #AD2D54 #CF4871 #DC7897 #E8A9BC

Accessibility & contrast

On white

4.36
#CF4871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF4871#FFFFFF#000000##000000
##CF48711.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#656872
Deuteranopia (green-blind)
#88836E
Tritanopia (blue-blind)
#E03558
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf4871;
/* rgb */ color: rgb(207, 72, 113);
/* oklch */ color: oklch(59.8% 0.173 5.4);
Tailwind
colors: {
  custom: {
    50: '#e38399',
    500: '#cf4871',
    950: '#000000',
  },
}
SCSS
$custom: #cf4871;
$custom-light: #e38399;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4871",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 341.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59814,
    "c": 0.17269,
    "h": 5.4
  },
  "luminance": 0.19092
}

Semantic roles & 50–950 ramp

primary
#CF4871
secondary
#9DD6C5
accent
#E2B246
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CF4871

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

Preview Lab → · Contrast checker → · Palette generator →

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