#CA5181#CA5181

#CA5181 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.6% C 0.161 H 358.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CA5181
RGBrgb(202, 81, 129)
HSLhsl(336, 53%, 55%)
HSVhsv(336, 60%, 79%)
CMYKcmyk(0%, 59.9%, 36.1%, 20.8%)
CIE-LABlab(51.87, 52.60, -2.07)
CIE-LCHlch(51.87, 52.64, 357.75°)
OKLaboklab(60.6% 0.1605 -0.0047)
OKLCHoklch(60.6% 0.161 358.3)
XYZxyz(31.2638, 20.0298, 22.9843)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5181 #51CA9A
analogous
#CA51BE #CA5181 #CA5D51
triadic
#CA5181 #81CA51 #5181CA
tetradic
#CA5181 #BECA51 #51CA9A #5D51CA
square
#CA5181 #BECA51 #51CA9A #5D51CA
split-complementary
#CA5181 #51CA5D #51BECA
monochromatic
#7B2547 #AA3463 #CA5181 #D880A3 #E7AFC5

Accessibility & contrast

On white

4.20
#CA5181 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CA5181 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5181
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5181#FFFFFF#000000##000000
##CA51811.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D82
Deuteranopia (green-blind)
#86847E
Tritanopia (blue-blind)
#D94764
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca5181;
/* rgb */ color: rgb(202, 81, 129);
/* oklch */ color: oklch(60.6% 0.161 358.3);
Tailwind
colors: {
  custom: {
    50: '#de88a5',
    500: '#ca5181',
    950: '#000000',
  },
}
SCSS
$custom: #ca5181;
$custom-light: #de88a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5181",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 336.198,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60603,
    "c": 0.16055,
    "h": 358.3
  },
  "luminance": 0.20026
}

Semantic roles & 50–950 ramp

primary
#CA5181
secondary
#A2D5C1
accent
#DDA34B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CA5181

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

Preview Lab → · Contrast checker → · Palette generator →

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