#CF5873#CF5873

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

Color values

HEX#CF5873
RGBrgb(207, 88, 115)
HSLhsl(346, 55%, 58%)
HSVhsv(346, 57%, 81%)
CMYKcmyk(0%, 57.5%, 44.4%, 18.8%)
CIE-LABlab(53.48, 49.51, 8.69)
CIE-LCHlch(53.48, 50.27, 9.96°)
OKLaboklab(61.83% 0.1504 0.0227)
OKLCHoklch(61.83% 0.152 8.6)
XYZxyz(32.3186, 21.4863, 18.6616)
Luminance0.2148 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5873 #58CFB4
analogous
#CF58AE #CF5873 #CF7958
triadic
#CF5873 #73CF58 #5873CF
tetradic
#CF5873 #AECF58 #58CFB4 #7958CF
square
#CF5873 #AECF58 #58CFB4 #7958CF
split-complementary
#CF5873 #58CF79 #58AECF
monochromatic
#86273C #B63452 #CF5873 #DD889B #EAB7C3

Accessibility & contrast

On white

3.96
#CF5873 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CF5873 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5873
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5873#FFFFFF#000000##000000
##CF58731.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#707174
Deuteranopia (green-blind)
#8F8970
Tritanopia (blue-blind)
#E04962
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf5873;
/* rgb */ color: rgb(207, 88, 115);
/* oklch */ color: oklch(61.8% 0.152 8.6);
Tailwind
colors: {
  custom: {
    50: '#e28c9b',
    500: '#cf5873',
    950: '#000000',
  },
}
SCSS
$custom: #cf5873;
$custom-light: #e28c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5873",
  "rgb": {
    "r": 207,
    "g": 88,
    "b": 115
  },
  "hsl": {
    "h": 346.387,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61831,
    "c": 0.15212,
    "h": 8.6
  },
  "luminance": 0.21483
}

Semantic roles & 50–950 ramp

primary
#CF5873
secondary
#AAD9CE
accent
#DFBD49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF5873

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

Preview Lab → · Contrast checker → · Palette generator →

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