#CA5281#CA5281

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

Color values

HEX#CA5281
RGBrgb(202, 82, 129)
HSLhsl(337, 53%, 56%)
HSVhsv(337, 59%, 79%)
CMYKcmyk(0%, 59.4%, 36.1%, 20.8%)
CIE-LABlab(52.04, 52.15, -1.82)
CIE-LCHlch(52.04, 52.18, 358.00°)
OKLaboklab(60.73% 0.1591 -0.0041)
OKLCHoklch(60.73% 0.159 358.5)
XYZxyz(31.3386, 20.1795, 23.0093)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5281 #52CA9B
analogous
#CA52BD #CA5281 #CA5F52
triadic
#CA5281 #81CA52 #5281CA
tetradic
#CA5281 #BDCA52 #52CA9B #5F52CA
square
#CA5281 #BDCA52 #52CA9B #5F52CA
split-complementary
#CA5281 #52CA5F #52BDCA
monochromatic
#7C2648 #AB3463 #CA5281 #D881A3 #E7B0C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5281#FFFFFF#000000##000000
##CA52811.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)
#666E82
Deuteranopia (green-blind)
#86847E
Tritanopia (blue-blind)
#D94864
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca5281;
/* rgb */ color: rgb(202, 82, 129);
/* oklch */ color: oklch(60.7% 0.159 358.5);
Tailwind
colors: {
  custom: {
    50: '#de88a5',
    500: '#ca5281',
    950: '#000000',
  },
}
SCSS
$custom: #ca5281;
$custom-light: #de88a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5281",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 336.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60728,
    "c": 0.15912,
    "h": 358.5
  },
  "luminance": 0.20176
}

Semantic roles & 50–950 ramp

primary
#CA5281
secondary
#A3D5C1
accent
#DDA44B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CA5281

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

Preview Lab → · Contrast checker → · Palette generator →

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