#CA2D7A#CA2D7A

#CA2D7A is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.8% C 0.201 H 356.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CA2D7A
RGBrgb(202, 45, 122)
HSLhsl(331, 64%, 48%)
HSVhsv(331, 78%, 79%)
CMYKcmyk(0%, 77.7%, 39.6%, 20.8%)
CIE-LABlab(46.77, 65.33, -5.37)
CIE-LCHlch(46.77, 65.55, 355.30°)
OKLaboklab(56.76% 0.2009 -0.0133)
OKLCHoklch(56.76% 0.201 356.2)
XYZxyz(28.8104, 15.8422, 19.9493)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2D7A #2DCA7D
analogous
#CA2DC8 #CA2D7A #CA2E2D
triadic
#CA2D7A #7ACA2D #2D7ACA
tetradic
#CA2D7A #C8CA2D #2DCA7D #2E2DCA
square
#CA2D7A #C8CA2D #2DCA7D #2E2DCA
split-complementary
#CA2D7A #2DCA2E #2DC8CA
monochromatic
#66173E #98225C #CA2D7A #DA5A99 #E58CB8

Accessibility & contrast

On white

5.04
#CA2D7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#CA2D7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2D7A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2D7A#FFFFFF#000000##FFFFFF
##CA2D7A1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7C
Deuteranopia (green-blind)
#7A7976
Tritanopia (blue-blind)
#DA1450
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2d7a;
/* rgb */ color: rgb(202, 45, 122);
/* oklch */ color: oklch(56.8% 0.201 356.2);
Tailwind
colors: {
  custom: {
    50: '#e076a0',
    500: '#ca2d7a',
    950: '#000000',
  },
}
SCSS
$custom: #ca2d7a;
$custom-light: #e076a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2d7a",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 330.573,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.20131,
    "h": 356.2
  },
  "luminance": 0.15838
}

Semantic roles & 50–950 ramp

primary
#CA2D7A
secondary
#83CFAA
accent
#E79541
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA2D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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