#CA2D7D#CA2D7D

#CA2D7D is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 56.9% C 0.203 H 355.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CA2D7D
RGBrgb(202, 45, 125)
HSLhsl(329, 64%, 48%)
HSVhsv(329, 78%, 79%)
CMYKcmyk(0%, 77.7%, 38.1%, 20.8%)
CIE-LABlab(46.87, 65.63, -7.06)
CIE-LCHlch(46.87, 66.01, 353.86°)
OKLaboklab(56.87% 0.2017 -0.0178)
OKLCHoklch(56.87% 0.203 355)
XYZxyz(28.9992, 15.9177, 20.9434)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2D7D #2DCA7A
analogous
#C82DCA #CA2D7D #CA2D2E
triadic
#CA2D7D #7DCA2D #2D7DCA
tetradic
#CA2D7D #CAC82D #2DCA7A #2D2ECA
square
#CA2D7D #CAC82D #2DCA7A #2D2ECA
split-complementary
#CA2D7D #2ECA2D #2DCAC8
monochromatic
#66173F #98225E #CA2D7D #DA5A9B #E58CBA

Accessibility & contrast

On white

5.02
#CA2D7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#CA2D7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2D7D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2D7D#FFFFFF#000000##FFFFFF
##CA2D7D1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D7F
Deuteranopia (green-blind)
#797979
Tritanopia (blue-blind)
#DA1751
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2d7d;
/* rgb */ color: rgb(202, 45, 125);
/* oklch */ color: oklch(56.9% 0.203 355.0);
Tailwind
colors: {
  custom: {
    50: '#df76a2',
    500: '#ca2d7d',
    950: '#000000',
  },
}
SCSS
$custom: #ca2d7d;
$custom-light: #df76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2d7d",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 329.427,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56869,
    "c": 0.20252,
    "h": 355
  },
  "luminance": 0.15914
}

Semantic roles & 50–950 ramp

primary
#CA2D7D
secondary
#83CFA9
accent
#E79241
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CA2D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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