#CA2DA7#CA2DA7

#CA2DA7 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.6% C 0.225 H 339.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CA2DA7
RGBrgb(202, 45, 167)
HSLhsl(313, 64%, 48%)
HSVhsv(313, 78%, 79%)
CMYKcmyk(0%, 77.7%, 17.3%, 20.8%)
CIE-LABlab(48.54, 70.61, -29.75)
CIE-LCHlch(48.54, 76.62, 337.15°)
OKLaboklab(58.63% 0.2101 -0.0806)
OKLCHoklch(58.63% 0.225 339)
XYZxyz(32.2714, 17.2266, 38.1772)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2DA7 #2DCA50
analogous
#9E2DCA #CA2DA7 #CA2D58
triadic
#CA2DA7 #A7CA2D #2DA7CA
tetradic
#CA2DA7 #CA9E2D #2DCA50 #2D58CA
square
#CA2DA7 #CA9E2D #2DCA50 #2D58CA
split-complementary
#CA2DA7 #58CA2D #2DCA9E
monochromatic
#661754 #98227E #CA2DA7 #DA5ABE #E58CD1

Accessibility & contrast

On white

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

On black

4.44
#CA2DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CA2DA7#FFFFFF#000000##FFFFFF
##CA2DA71.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AA
Deuteranopia (green-blind)
#6C7CA3
Tritanopia (blue-blind)
#D63568
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca2da7;
/* rgb */ color: rgb(202, 45, 167);
/* oklch */ color: oklch(58.6% 0.225 339.0);
Tailwind
colors: {
  custom: {
    50: '#de78c1',
    500: '#ca2da7',
    950: '#000000',
  },
}
SCSS
$custom: #ca2da7;
$custom-light: #de78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2da7",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 313.376,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58633,
    "c": 0.22501,
    "h": 339
  },
  "luminance": 0.17223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA2DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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