#CA5187#CA5187

#CA5187 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.8% C 0.163 H 355.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CA5187
RGBrgb(202, 81, 135)
HSLhsl(333, 53%, 55%)
HSVhsv(333, 60%, 79%)
CMYKcmyk(0%, 59.9%, 33.2%, 20.8%)
CIE-LABlab(52.06, 53.31, -5.37)
CIE-LCHlch(52.06, 53.58, 354.25°)
OKLaboklab(60.8% 0.1624 -0.0135)
OKLCHoklch(60.8% 0.163 355.3)
XYZxyz(31.6743, 20.1940, 25.1467)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5187 #51CA94
analogous
#CA51C4 #CA5187 #CA5751
triadic
#CA5187 #87CA51 #5187CA
tetradic
#CA5187 #C4CA51 #51CA94 #5751CA
square
#CA5187 #C4CA51 #51CA94 #5751CA
split-complementary
#CA5187 #51CA57 #51C4CA
monochromatic
#7B254C #AA3469 #CA5187 #D880A7 #E7AFC8

Accessibility & contrast

On white

4.17
#CA5187 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CA5187 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5187
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5187#FFFFFF#000000##000000
##CA51871.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#646E89
Deuteranopia (green-blind)
#848484
Tritanopia (blue-blind)
#D94966
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca5187;
/* rgb */ color: rgb(202, 81, 135);
/* oklch */ color: oklch(60.8% 0.163 355.3);
Tailwind
colors: {
  custom: {
    50: '#de88a9',
    500: '#ca5187',
    950: '#000000',
  },
}
SCSS
$custom: #ca5187;
$custom-light: #de88a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5187",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 135
  },
  "hsl": {
    "h": 333.223,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60801,
    "c": 0.16299,
    "h": 355.3
  },
  "luminance": 0.20191
}

Semantic roles & 50–950 ramp

primary
#CA5187
secondary
#A2D5BE
accent
#DD9C4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA5187

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

Preview Lab → · Contrast checker → · Palette generator →

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