#CA2D81#CA2D81

#CA2D81 is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 57.0% C 0.204 H 353.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CA2D81
RGBrgb(202, 45, 129)
HSLhsl(328, 64%, 48%)
HSVhsv(328, 78%, 79%)
CMYKcmyk(0%, 77.7%, 36.1%, 20.8%)
CIE-LABlab(47.00, 66.04, -9.29)
CIE-LCHlch(47.00, 66.69, 351.99°)
OKLaboklab(57.01% 0.2029 -0.0238)
OKLCHoklch(57.01% 0.204 353.3)
XYZxyz(29.2599, 16.0219, 22.3163)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2D81 #2DCA76
analogous
#C42DCA #CA2D81 #CA2D32
triadic
#CA2D81 #81CA2D #2D81CA
tetradic
#CA2D81 #CAC42D #2DCA76 #2D32CA
square
#CA2D81 #CAC42D #2DCA76 #2D32CA
split-complementary
#CA2D81 #32CA2D #2DCAC4
monochromatic
#661741 #982261 #CA2D81 #DA5A9F #E58CBC

Accessibility & contrast

On white

5.00
#CA2D81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#CA2D81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2D81
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2D81#FFFFFF#000000##FFFFFF
##CA2D811.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5D83
Deuteranopia (green-blind)
#787A7D
Tritanopia (blue-blind)
#DA1A54
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2d81;
/* rgb */ color: rgb(202, 45, 129);
/* oklch */ color: oklch(57.0% 0.204 353.3);
Tailwind
colors: {
  custom: {
    50: '#df76a5',
    500: '#ca2d81',
    950: '#000000',
  },
}
SCSS
$custom: #ca2d81;
$custom-light: #df76a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2d81",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 327.898,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57013,
    "c": 0.20424,
    "h": 353.3
  },
  "luminance": 0.16018
}

Semantic roles & 50–950 ramp

primary
#CA2D81
secondary
#83CFA7
accent
#E78E41
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA2D81

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

Preview Lab → · Contrast checker → · Palette generator →

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