#CA2D7E#CA2D7E

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

Color values

HEX#CA2D7E
RGBrgb(202, 45, 126)
HSLhsl(329, 64%, 48%)
HSVhsv(329, 78%, 79%)
CMYKcmyk(0%, 77.7%, 37.6%, 20.8%)
CIE-LABlab(46.90, 65.73, -7.62)
CIE-LCHlch(46.90, 66.17, 353.39°)
OKLaboklab(56.9% 0.202 -0.0193)
OKLCHoklch(56.9% 0.203 354.5)
XYZxyz(29.0634, 15.9433, 21.2815)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2D7E #2DCA79
analogous
#C72DCA #CA2D7E #CA2D2F
triadic
#CA2D7E #7ECA2D #2D7ECA
tetradic
#CA2D7E #CAC72D #2DCA79 #2D2FCA
square
#CA2D7E #CAC72D #2DCA79 #2D2FCA
split-complementary
#CA2D7E #2FCA2D #2DCAC7
monochromatic
#661740 #98225F #CA2D7E #DA5A9C #E58CBA

Accessibility & contrast

On white

5.01
#CA2D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#CA2D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2D7E
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2D7E#FFFFFF#000000##FFFFFF
##CA2D7E1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D80
Deuteranopia (green-blind)
#797A7A
Tritanopia (blue-blind)
#DA1852
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2d7e;
/* rgb */ color: rgb(202, 45, 126);
/* oklch */ color: oklch(56.9% 0.203 354.5);
Tailwind
colors: {
  custom: {
    50: '#df76a3',
    500: '#ca2d7e',
    950: '#000000',
  },
}
SCSS
$custom: #ca2d7e;
$custom-light: #df76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2d7e",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 329.045,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56904,
    "c": 0.20294,
    "h": 354.5
  },
  "luminance": 0.1594
}

Semantic roles & 50–950 ramp

primary
#CA2D7E
secondary
#83CFA8
accent
#E79141
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA2D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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