#CA5871#CA5871

#CA5871 is a mid, vivid red. Relative luminance 0.207; OKLCH L 61.0% C 0.146 H 8.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CA5871
RGBrgb(202, 88, 113)
HSLhsl(347, 52%, 57%)
HSVhsv(347, 56%, 79%)
CMYKcmyk(0%, 56.4%, 44.1%, 20.8%)
CIE-LABlab(52.65, 47.62, 8.61)
CIE-LCHlch(52.65, 48.39, 10.25°)
OKLaboklab(61.05% 0.1446 0.0225)
OKLCHoklch(61.05% 0.146 8.8)
XYZxyz(30.8295, 20.7317, 17.9976)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5871 #58CAB1
analogous
#CA58AA #CA5871 #CA7858
triadic
#CA5871 #71CA58 #5871CA
tetradic
#CA5871 #AACA58 #58CAB1 #7858CA
square
#CA5871 #AACA58 #58CAB1 #7858CA
split-complementary
#CA5871 #58CA78 #58AACA
monochromatic
#7F283B #AE3751 #CA5871 #D98699 #E7B5C0

Accessibility & contrast

On white

4.08
#CA5871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CA5871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5871
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5871#FFFFFF#000000##000000
##CA58711.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca5871;
/* rgb */ color: rgb(202, 88, 113);
/* oklch */ color: oklch(61.0% 0.146 8.8);
Tailwind
colors: {
  custom: {
    50: '#de8b99',
    500: '#ca5871',
    950: '#000000',
  },
}
SCSS
$custom: #ca5871;
$custom-light: #de8b99;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5871",
  "rgb": {
    "r": 202,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 346.842,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61045,
    "c": 0.14634,
    "h": 8.8
  },
  "luminance": 0.20728
}

Semantic roles & 50–950 ramp

primary
#CA5871
secondary
#A8D6CC
accent
#DBBC4D
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CA5871

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

Preview Lab → · Contrast checker → · Palette generator →

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