#CA5287#CA5287

#CA5287 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.162 H 355.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CA5287
RGBrgb(202, 82, 135)
HSLhsl(334, 53%, 56%)
HSVhsv(334, 59%, 79%)
CMYKcmyk(0%, 59.4%, 33.2%, 20.8%)
CIE-LABlab(52.22, 52.86, -5.12)
CIE-LCHlch(52.22, 53.10, 354.47°)
OKLaboklab(60.93% 0.161 -0.0128)
OKLCHoklch(60.93% 0.162 355.4)
XYZxyz(31.7492, 20.3437, 25.1717)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5287 #52CA95
analogous
#CA52C3 #CA5287 #CA5952
triadic
#CA5287 #87CA52 #5287CA
tetradic
#CA5287 #C3CA52 #52CA95 #5952CA
square
#CA5287 #C3CA52 #52CA95 #5952CA
split-complementary
#CA5287 #52CA59 #52C3CA
monochromatic
#7C264C #AB3468 #CA5287 #D881A7 #E7B0C8

Accessibility & contrast

On white

4.14
#CA5287 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CA5287 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5287
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5287#FFFFFF#000000##000000
##CA52871.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#656F89
Deuteranopia (green-blind)
#858584
Tritanopia (blue-blind)
#D94A67
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca5287;
/* rgb */ color: rgb(202, 82, 135);
/* oklch */ color: oklch(60.9% 0.162 355.4);
Tailwind
colors: {
  custom: {
    50: '#de88a9',
    500: '#ca5287',
    950: '#000000',
  },
}
SCSS
$custom: #ca5287;
$custom-light: #de88a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5287",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 135
  },
  "hsl": {
    "h": 333.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60926,
    "c": 0.16154,
    "h": 355.4
  },
  "luminance": 0.2034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5287

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

Preview Lab → · Contrast checker → · Palette generator →

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