#CF5871#CF5871

#CF5871 is a mid, vivid red. Relative luminance 0.214; OKLCH L 61.8% C 0.152 H 9.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CF5871
RGBrgb(207, 88, 113)
HSLhsl(347, 55%, 58%)
HSVhsv(347, 57%, 81%)
CMYKcmyk(0%, 57.5%, 45.4%, 18.8%)
CIE-LABlab(53.43, 49.31, 9.81)
CIE-LCHlch(53.43, 50.28, 11.25°)
OKLaboklab(61.78% 0.1497 0.0255)
OKLCHoklch(61.78% 0.152 9.7)
XYZxyz(32.2047, 21.4408, 18.0621)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5871 #58CFB6
analogous
#CF58AC #CF5871 #CF7A58
triadic
#CF5871 #71CF58 #5871CF
tetradic
#CF5871 #ACCF58 #58CFB6 #7A58CF
square
#CF5871 #ACCF58 #58CFB6 #7A58CF
split-complementary
#CF5871 #58CF7A #58ACCF
monochromatic
#86273B #B6344F #CF5871 #DD8899 #EAB7C2

Accessibility & contrast

On white

3.97
#CF5871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CF5871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5871
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5871#FFFFFF#000000##000000
##CF58711.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#717171
Deuteranopia (green-blind)
#8F896E
Tritanopia (blue-blind)
#E04961
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf5871;
/* rgb */ color: rgb(207, 88, 113);
/* oklch */ color: oklch(61.8% 0.152 9.7);
Tailwind
colors: {
  custom: {
    50: '#e28c99',
    500: '#cf5871',
    950: '#000000',
  },
}
SCSS
$custom: #cf5871;
$custom-light: #e28c99;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5871",
  "rgb": {
    "r": 207,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 347.395,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61778,
    "c": 0.15181,
    "h": 9.7
  },
  "luminance": 0.21437
}

Semantic roles & 50–950 ramp

primary
#CF5871
secondary
#AAD9CF
accent
#DFBF49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CF5871

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

Preview Lab → · Contrast checker → · Palette generator →

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