#CA2C7E#CA2C7E

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

Color values

HEX#CA2C7E
RGBrgb(202, 44, 126)
HSLhsl(329, 64%, 48%)
HSVhsv(329, 78%, 79%)
CMYKcmyk(0%, 78.2%, 37.6%, 20.8%)
CIE-LABlab(46.80, 66.01, -7.77)
CIE-LCHlch(46.80, 66.47, 353.29°)
OKLaboklab(56.83% 0.2029 -0.0197)
OKLCHoklch(56.83% 0.204 354.5)
XYZxyz(29.0257, 15.8679, 21.2690)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2C7E #2CCA78
analogous
#C72CCA #CA2C7E #CA2C2F
triadic
#CA2C7E #7ECA2C #2C7ECA
tetradic
#CA2C7E #CAC72C #2CCA78 #2C2FCA
square
#CA2C7E #CAC72C #2CCA78 #2C2FCA
split-complementary
#CA2C7E #2FCA2C #2CCAC7
monochromatic
#65163F #98215F #CA2C7E #DB589C #E68BBA

Accessibility & contrast

On white

5.03
#CA2C7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA2C7E
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2C7E#FFFFFF#000000##FFFFFF
##CA2C7E1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C80
Deuteranopia (green-blind)
#79797A
Tritanopia (blue-blind)
#DA1652
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2c7e;
/* rgb */ color: rgb(202, 44, 126);
/* oklch */ color: oklch(56.8% 0.204 354.5);
Tailwind
colors: {
  custom: {
    50: '#df76a3',
    500: '#ca2c7e',
    950: '#000000',
  },
}
SCSS
$custom: #ca2c7e;
$custom-light: #df76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2c7e",
  "rgb": {
    "r": 202,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 328.861,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56832,
    "c": 0.20387,
    "h": 354.5
  },
  "luminance": 0.15864
}

Semantic roles & 50–950 ramp

primary
#CA2C7E
secondary
#82D0A7
accent
#E79141
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA2C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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