#CA2D7C#CA2D7C

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

Color values

HEX#CA2D7C
RGBrgb(202, 45, 124)
HSLhsl(330, 64%, 48%)
HSVhsv(330, 78%, 79%)
CMYKcmyk(0%, 77.7%, 38.6%, 20.8%)
CIE-LABlab(46.83, 65.53, -6.50)
CIE-LCHlch(46.83, 65.85, 354.34°)
OKLaboklab(56.83% 0.2015 -0.0163)
OKLCHoklch(56.83% 0.202 355.4)
XYZxyz(28.9356, 15.8922, 20.6086)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2D7C #2DCA7B
analogous
#C92DCA #CA2D7C #CA2D2D
triadic
#CA2D7C #7CCA2D #2D7CCA
tetradic
#CA2D7C #CAC92D #2DCA7B #2D2DCA
square
#CA2D7C #CAC92D #2DCA7B #2D2DCA
split-complementary
#CA2D7C #2DCA2D #2DCAC9
monochromatic
#66173F #98225D #CA2D7C #DA5A9B #E58CB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA2D7C#FFFFFF#000000##FFFFFF
##CA2D7C1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D7E
Deuteranopia (green-blind)
#7A7978
Tritanopia (blue-blind)
#DA1651
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2d7c;
/* rgb */ color: rgb(202, 45, 124);
/* oklch */ color: oklch(56.8% 0.202 355.4);
Tailwind
colors: {
  custom: {
    50: '#e076a1',
    500: '#ca2d7c',
    950: '#000000',
  },
}
SCSS
$custom: #ca2d7c;
$custom-light: #e076a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2d7c",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 329.809,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56833,
    "c": 0.20211,
    "h": 355.4
  },
  "luminance": 0.15889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA2D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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