#CB5872#CB5872

#CB5872 is a mid, vivid red. Relative luminance 0.209; OKLCH L 61.2% C 0.148 H 8.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CB5872
RGBrgb(203, 88, 114)
HSLhsl(346, 53%, 57%)
HSVhsv(346, 57%, 80%)
CMYKcmyk(0%, 56.7%, 43.8%, 20.4%)
CIE-LABlab(52.83, 48.06, 8.29)
CIE-LCHlch(52.83, 48.77, 9.79°)
OKLaboklab(61.22% 0.146 0.0217)
OKLCHoklch(61.22% 0.148 8.5)
XYZxyz(31.1577, 20.8943, 18.3085)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5872 #58CBB1
analogous
#CB58AB #CB5872 #CB7858
triadic
#CB5872 #72CB58 #5872CB
tetradic
#CB5872 #ABCB58 #58CBB1 #7858CB
square
#CB5872 #ABCB58 #58CBB1 #7858CB
split-complementary
#CB5872 #58CB78 #58ABCB
monochromatic
#81283C #AF3752 #CB5872 #DA8799 #E8B5C1

Accessibility & contrast

On white

4.06
#CB5872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CB5872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5872
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5872#FFFFFF#000000##000000
##CB58721.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7073
Deuteranopia (green-blind)
#8D876F
Tritanopia (blue-blind)
#DC4A62
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb5872;
/* rgb */ color: rgb(203, 88, 114);
/* oklch */ color: oklch(61.2% 0.148 8.5);
Tailwind
colors: {
  custom: {
    50: '#df8b9a',
    500: '#cb5872',
    950: '#000000',
  },
}
SCSS
$custom: #cb5872;
$custom-light: #df8b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5872",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 114
  },
  "hsl": {
    "h": 346.435,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61218,
    "c": 0.1476,
    "h": 8.5
  },
  "luminance": 0.20891
}

Semantic roles & 50–950 ramp

primary
#CB5872
secondary
#A8D7CC
accent
#DCBB4C
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB5872

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

Preview Lab → · Contrast checker → · Palette generator →

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