#CA2D7B#CA2D7B

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

Color values

HEX#CA2D7B
RGBrgb(202, 45, 123)
HSLhsl(330, 64%, 48%)
HSVhsv(330, 78%, 79%)
CMYKcmyk(0%, 77.7%, 39.1%, 20.8%)
CIE-LABlab(46.80, 65.43, -5.94)
CIE-LCHlch(46.80, 65.69, 354.81°)
OKLaboklab(56.8% 0.2012 -0.0148)
OKLCHoklch(56.8% 0.202 355.8)
XYZxyz(28.8727, 15.8671, 20.2773)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2D7B #2DCA7C
analogous
#CA2DC9 #CA2D7B #CA2D2D
triadic
#CA2D7B #7BCA2D #2D7BCA
tetradic
#CA2D7B #C9CA2D #2DCA7C #2D2DCA
square
#CA2D7B #C9CA2D #2DCA7C #2D2DCA
split-complementary
#CA2D7B #2DCA2D #2DC9CA
monochromatic
#66173E #98225D #CA2D7B #DA5A9A #E58CB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA2D7B#FFFFFF#000000##FFFFFF
##CA2D7B1.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)
#4E5C7D
Deuteranopia (green-blind)
#7A7977
Tritanopia (blue-blind)
#DA1550
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2d7b;
/* rgb */ color: rgb(202, 45, 123);
/* oklch */ color: oklch(56.8% 0.202 355.8);
Tailwind
colors: {
  custom: {
    50: '#e076a1',
    500: '#ca2d7b',
    950: '#000000',
  },
}
SCSS
$custom: #ca2d7b;
$custom-light: #e076a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2d7b",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 330.191,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56798,
    "c": 0.2017,
    "h": 355.8
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#CA2D7B
secondary
#83CFAA
accent
#E79441
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA2D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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