#CA2E7A#CA2E7A

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

Color values

HEX#CA2E7A
RGBrgb(202, 46, 122)
HSLhsl(331, 63%, 49%)
HSVhsv(331, 77%, 79%)
CMYKcmyk(0%, 77.2%, 39.6%, 20.8%)
CIE-LABlab(46.87, 65.04, -5.22)
CIE-LCHlch(46.87, 65.25, 355.41°)
OKLaboklab(56.84% 0.2 -0.0129)
OKLCHoklch(56.84% 0.2 356.3)
XYZxyz(28.8490, 15.9194, 19.9622)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2E7A #2ECA7E
analogous
#CA2EC8 #CA2E7A #CA302E
triadic
#CA2E7A #7ACA2E #2E7ACA
tetradic
#CA2E7A #C8CA2E #2ECA7E #302ECA
square
#CA2E7A #C8CA2E #2ECA7E #302ECA
split-complementary
#CA2E7A #2ECA30 #2EC8CA
monochromatic
#66173E #98235C #CA2E7A #DA5B99 #E58DB8

Accessibility & contrast

On white

5.02
#CA2E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA2E7A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2E7A#FFFFFF#000000##FFFFFF
##CA2E7A1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7C
Deuteranopia (green-blind)
#7A7A76
Tritanopia (blue-blind)
#DA1650
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2e7a;
/* rgb */ color: rgb(202, 46, 122);
/* oklch */ color: oklch(56.8% 0.200 356.3);
Tailwind
colors: {
  custom: {
    50: '#e076a0',
    500: '#ca2e7a',
    950: '#000000',
  },
}
SCSS
$custom: #ca2e7a;
$custom-light: #e076a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2e7a",
  "rgb": {
    "r": 202,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 330.769,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56838,
    "c": 0.20037,
    "h": 356.3
  },
  "luminance": 0.15916
}

Semantic roles & 50–950 ramp

primary
#CA2E7A
secondary
#84CFAB
accent
#E69642
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA2E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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