#CA2A7D#CA2A7D

#CA2A7D is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.7% C 0.205 H 354.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CA2A7D
RGBrgb(202, 42, 125)
HSLhsl(329, 66%, 48%)
HSVhsv(329, 79%, 79%)
CMYKcmyk(0%, 79.2%, 38.1%, 20.8%)
CIE-LABlab(46.57, 66.46, -7.50)
CIE-LCHlch(46.57, 66.88, 353.57°)
OKLaboklab(56.66% 0.2044 -0.019)
OKLCHoklch(56.66% 0.205 354.7)
XYZxyz(28.8888, 15.6968, 20.9066)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2A7D #2ACA77
analogous
#C72ACA #CA2A7D #CA2A2D
triadic
#CA2A7D #7DCA2A #2A7DCA
tetradic
#CA2A7D #CAC72A #2ACA77 #2A2DCA
square
#CA2A7D #CAC72A #2ACA77 #2A2DCA
split-complementary
#CA2A7D #2DCA2A #2ACAC7
monochromatic
#65153E #971F5E #CA2A7D #DC559B #E688B9

Accessibility & contrast

On white

5.07
#CA2A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#CA2A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2A7D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2A7D#FFFFFF#000000##FFFFFF
##CA2A7D1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C7F
Deuteranopia (green-blind)
#797979
Tritanopia (blue-blind)
#DA1150
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca2a7d;
/* rgb */ color: rgb(202, 42, 125);
/* oklch */ color: oklch(56.7% 0.205 354.7);
Tailwind
colors: {
  custom: {
    50: '#e075a2',
    500: '#ca2a7d',
    950: '#000000',
  },
}
SCSS
$custom: #ca2a7d;
$custom-light: #e075a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2a7d",
  "rgb": {
    "r": 202,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 328.875,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56655,
    "c": 0.20527,
    "h": 354.7
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#CA2A7D
secondary
#80D0A6
accent
#E9913F
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CA2A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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