#CA2D5B#CA2D5B

#CA2D5B is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.8% C 0.193 H 9.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CA2D5B
RGBrgb(202, 45, 91)
HSLhsl(342, 64%, 48%)
HSVhsv(342, 78%, 79%)
CMYKcmyk(0%, 77.7%, 55%, 20.8%)
CIE-LABlab(45.90, 62.64, 12.46)
CIE-LCHlch(45.90, 63.87, 11.25°)
OKLaboklab(55.84% 0.1903 0.0316)
OKLCHoklch(55.84% 0.193 9.4)
XYZxyz(27.1864, 15.1926, 11.3964)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2D5B #2DCA9C
analogous
#CA2DA9 #CA2D5B #CA4D2D
triadic
#CA2D5B #5BCA2D #2D5BCA
tetradic
#CA2D5B #A9CA2D #2DCA9C #4D2DCA
square
#CA2D5B #A9CA2D #2DCA9C #4D2DCA
split-complementary
#CA2D5B #2DCA4D #2DA9CA
monochromatic
#66172E #982244 #CA2D5B #DA5A80 #E58CA6

Accessibility & contrast

On white

5.20
#CA2D5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#CA2D5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2D5B
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2D5B#FFFFFF#000000##FFFFFF
##CA2D5B1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57585C
Deuteranopia (green-blind)
#807857
Tritanopia (blue-blind)
#DD0041
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ca2d5b;
/* rgb */ color: rgb(202, 45, 91);
/* oklch */ color: oklch(55.8% 0.193 9.4);
Tailwind
colors: {
  custom: {
    50: '#e17589',
    500: '#ca2d5b',
    950: '#000000',
  },
}
SCSS
$custom: #ca2d5b;
$custom-light: #e17589;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2d5b",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 342.42,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55841,
    "c": 0.19288,
    "h": 9.4
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#CA2D5B
secondary
#83CFB9
accent
#E7B641
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#17090B
muted
#857B7C

Preview Lab

Preview with #CA2D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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