#CA2DA8#CA2DA8

#CA2DA8 is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.7% C 0.226 H 338.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CA2DA8
RGBrgb(202, 45, 168)
HSLhsl(313, 64%, 48%)
HSVhsv(313, 78%, 79%)
CMYKcmyk(0%, 77.7%, 16.8%, 20.8%)
CIE-LABlab(48.59, 70.74, -30.27)
CIE-LCHlch(48.59, 76.94, 336.84°)
OKLaboklab(58.68% 0.2102 -0.0821)
OKLCHoklch(58.68% 0.226 338.7)
XYZxyz(32.3642, 17.2637, 38.6660)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2DA8 #2DCA4F
analogous
#9D2DCA #CA2DA8 #CA2D59
triadic
#CA2DA8 #A8CA2D #2DA8CA
tetradic
#CA2DA8 #CA9D2D #2DCA4F #2D59CA
square
#CA2DA8 #CA9D2D #2DCA4F #2D59CA
split-complementary
#CA2DA8 #59CA2D #2DCA9D
monochromatic
#661755 #98227E #CA2DA8 #DA5ABE #E58CD2

Accessibility & contrast

On white

4.72
#CA2DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#CA2DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2DA8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2DA8#FFFFFF#000000##FFFFFF
##CA2DA81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3664AB
Deuteranopia (green-blind)
#6C7CA4
Tritanopia (blue-blind)
#D63569
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca2da8;
/* rgb */ color: rgb(202, 45, 168);
/* oklch */ color: oklch(58.7% 0.226 338.7);
Tailwind
colors: {
  custom: {
    50: '#de78c2',
    500: '#ca2da8',
    950: '#000000',
  },
}
SCSS
$custom: #ca2da8;
$custom-light: #de78c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2da8",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 312.994,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58682,
    "c": 0.22564,
    "h": 338.7
  },
  "luminance": 0.1726
}

Semantic roles & 50–950 ramp

primary
#CA2DA8
secondary
#83CF94
accent
#E76541
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA2DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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