#CA5881#CA5881

#CA5881 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.5% C 0.150 H 360.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CA5881
RGBrgb(202, 88, 129)
HSLhsl(338, 52%, 57%)
HSVhsv(338, 56%, 79%)
CMYKcmyk(0%, 56.4%, 36.1%, 20.8%)
CIE-LABlab(53.09, 49.37, -0.29)
CIE-LCHlch(53.09, 49.37, 359.67°)
OKLaboklab(61.51% 0.1504 -0.0001)
OKLCHoklch(61.51% 0.15 0)
XYZxyz(31.8110, 21.1243, 23.1667)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5881 #58CAA1
analogous
#CA58BA #CA5881 #CA6858
triadic
#CA5881 #81CA58 #5881CA
tetradic
#CA5881 #BACA58 #58CAA1 #6858CA
square
#CA5881 #BACA58 #58CAA1 #6858CA
split-complementary
#CA5881 #58CA68 #58BACA
monochromatic
#7F2848 #AE3762 #CA5881 #D986A4 #E7B5C7

Accessibility & contrast

On white

4.02
#CA5881 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CA5881 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5881
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5881#FFFFFF#000000##000000
##CA58811.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7182
Deuteranopia (green-blind)
#89877E
Tritanopia (blue-blind)
#D94E67
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca5881;
/* rgb */ color: rgb(202, 88, 129);
/* oklch */ color: oklch(61.5% 0.150 360.0);
Tailwind
colors: {
  custom: {
    50: '#de8ca5',
    500: '#ca5881',
    950: '#000000',
  },
}
SCSS
$custom: #ca5881;
$custom-light: #de8ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5881",
  "rgb": {
    "r": 202,
    "g": 88,
    "b": 129
  },
  "hsl": {
    "h": 338.421,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61509,
    "c": 0.1504,
    "h": 360
  },
  "luminance": 0.21121
}

Semantic roles & 50–950 ramp

primary
#CA5881
secondary
#A8D6C5
accent
#DBA84D
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CA5881

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

Preview Lab → · Contrast checker → · Palette generator →

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