#CA2A7C#CA2A7C

#CA2A7C is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.6% C 0.205 H 355.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CA2A7C
RGBrgb(202, 42, 124)
HSLhsl(329, 66%, 48%)
HSVhsv(329, 79%, 79%)
CMYKcmyk(0%, 79.2%, 38.6%, 20.8%)
CIE-LABlab(46.54, 66.36, -6.93)
CIE-LCHlch(46.54, 66.72, 354.03°)
OKLaboklab(56.62% 0.2041 -0.0174)
OKLCHoklch(56.62% 0.205 355.1)
XYZxyz(28.8252, 15.6714, 20.5718)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2A7C #2ACA78
analogous
#C82ACA #CA2A7C #CA2A2C
triadic
#CA2A7C #7CCA2A #2A7CCA
tetradic
#CA2A7C #CAC82A #2ACA78 #2A2CCA
square
#CA2A7C #CAC82A #2ACA78 #2A2CCA
split-complementary
#CA2A7C #2CCA2A #2ACAC8
monochromatic
#65153E #971F5D #CA2A7C #DC559A #E688B8

Accessibility & contrast

On white

5.08
#CA2A7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#CA2A7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2A7C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2A7C#FFFFFF#000000##FFFFFF
##CA2A7C1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C7E
Deuteranopia (green-blind)
#797978
Tritanopia (blue-blind)
#DA1050
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca2a7c;
/* rgb */ color: rgb(202, 42, 124);
/* oklch */ color: oklch(56.6% 0.205 355.1);
Tailwind
colors: {
  custom: {
    50: '#e075a1',
    500: '#ca2a7c',
    950: '#000000',
  },
}
SCSS
$custom: #ca2a7c;
$custom-light: #e075a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2a7c",
  "rgb": {
    "r": 202,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 329.25,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5662,
    "c": 0.20485,
    "h": 355.1
  },
  "luminance": 0.15668
}

Semantic roles & 50–950 ramp

primary
#CA2A7C
secondary
#80D0A7
accent
#E9923F
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#16090F
muted
#847B7E

Preview Lab

Preview with #CA2A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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