#CB5871#CB5871

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

Color values

HEX#CB5871
RGBrgb(203, 88, 113)
HSLhsl(347, 53%, 57%)
HSVhsv(347, 57%, 80%)
CMYKcmyk(0%, 56.7%, 44.3%, 20.4%)
CIE-LABlab(52.81, 47.96, 8.85)
CIE-LCHlch(52.81, 48.77, 10.45°)
OKLaboklab(61.19% 0.1456 0.0231)
OKLCHoklch(61.19% 0.147 9)
XYZxyz(31.1011, 20.8717, 18.0104)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5871 #58CBB2
analogous
#CB58AA #CB5871 #CB7958
triadic
#CB5871 #71CB58 #5871CB
tetradic
#CB5871 #AACB58 #58CBB2 #7958CB
square
#CB5871 #AACB58 #58CBB2 #7958CB
split-complementary
#CB5871 #58CB79 #58AACB
monochromatic
#81283B #AF3751 #CB5871 #DA8799 #E8B5C0

Accessibility & contrast

On white

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

On black

5.17
#CB5871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5871
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5871#FFFFFF#000000##000000
##CB58711.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7072
Deuteranopia (green-blind)
#8D876E
Tritanopia (blue-blind)
#DC4A61
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb5871;
/* rgb */ color: rgb(203, 88, 113);
/* oklch */ color: oklch(61.2% 0.147 9.0);
Tailwind
colors: {
  custom: {
    50: '#df8b99',
    500: '#cb5871',
    950: '#000000',
  },
}
SCSS
$custom: #cb5871;
$custom-light: #df8b99;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5871",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 346.957,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61191,
    "c": 0.14744,
    "h": 9
  },
  "luminance": 0.20868
}

Semantic roles & 50–950 ramp

primary
#CB5871
secondary
#A8D7CD
accent
#DCBD4C
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB5871

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

Preview Lab → · Contrast checker → · Palette generator →

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