#CA5186#CA5186

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

Color values

HEX#CA5186
RGBrgb(202, 81, 134)
HSLhsl(334, 53%, 55%)
HSVhsv(334, 60%, 79%)
CMYKcmyk(0%, 59.9%, 33.7%, 20.8%)
CIE-LABlab(52.02, 53.19, -4.82)
CIE-LCHlch(52.02, 53.41, 354.82°)
OKLaboklab(60.77% 0.1621 -0.012)
OKLCHoklch(60.77% 0.163 355.8)
XYZxyz(31.6043, 20.1660, 24.7777)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5186 #51CA95
analogous
#CA51C2 #CA5186 #CA5851
triadic
#CA5186 #86CA51 #5186CA
tetradic
#CA5186 #C2CA51 #51CA95 #5851CA
square
#CA5186 #C2CA51 #51CA95 #5851CA
split-complementary
#CA5186 #51CA58 #51C2CA
monochromatic
#7B254B #AA3468 #CA5186 #D880A7 #E7AFC7

Accessibility & contrast

On white

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

On black

5.03
#CA5186 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5186
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5186#FFFFFF#000000##000000
##CA51861.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#646E88
Deuteranopia (green-blind)
#858483
Tritanopia (blue-blind)
#D94866
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca5186;
/* rgb */ color: rgb(202, 81, 134);
/* oklch */ color: oklch(60.8% 0.163 355.8);
Tailwind
colors: {
  custom: {
    50: '#de88a9',
    500: '#ca5186',
    950: '#000000',
  },
}
SCSS
$custom: #ca5186;
$custom-light: #de88a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5186",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 134
  },
  "hsl": {
    "h": 333.719,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60767,
    "c": 0.16256,
    "h": 355.8
  },
  "luminance": 0.20163
}

Semantic roles & 50–950 ramp

primary
#CA5186
secondary
#A2D5BF
accent
#DD9D4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CA5186

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

Preview Lab → · Contrast checker → · Palette generator →

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