#CA2EA7#CA2EA7

#CA2EA7 is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.7% C 0.224 H 339.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CA2EA7
RGBrgb(202, 46, 167)
HSLhsl(313, 63%, 49%)
HSVhsv(313, 77%, 79%)
CMYKcmyk(0%, 77.2%, 17.3%, 20.8%)
CIE-LABlab(48.64, 70.33, -29.60)
CIE-LCHlch(48.64, 76.31, 337.18°)
OKLaboklab(58.7% 0.2092 -0.0802)
OKLCHoklch(58.7% 0.224 339)
XYZxyz(32.3100, 17.3038, 38.1901)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2EA7 #2ECA51
analogous
#9F2ECA #CA2EA7 #CA2E59
triadic
#CA2EA7 #A7CA2E #2EA7CA
tetradic
#CA2EA7 #CA9F2E #2ECA51 #2E59CA
square
#CA2EA7 #CA9F2E #2ECA51 #2E59CA
split-complementary
#CA2EA7 #59CA2E #2ECA9F
monochromatic
#661755 #98237E #CA2EA7 #DA5BBD #E58DD1

Accessibility & contrast

On white

4.71
#CA2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CA2EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2EA7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2EA7#FFFFFF#000000##FFFFFF
##CA2EA71.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3864AA
Deuteranopia (green-blind)
#6D7CA3
Tritanopia (blue-blind)
#D63568
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca2ea7;
/* rgb */ color: rgb(202, 46, 167);
/* oklch */ color: oklch(58.7% 0.224 339.0);
Tailwind
colors: {
  custom: {
    50: '#de78c1',
    500: '#ca2ea7',
    950: '#000000',
  },
}
SCSS
$custom: #ca2ea7;
$custom-light: #de78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2ea7",
  "rgb": {
    "r": 202,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 313.462,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58703,
    "c": 0.22408,
    "h": 339
  },
  "luminance": 0.17301
}

Semantic roles & 50–950 ramp

primary
#CA2EA7
secondary
#84CF95
accent
#E66742
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA2EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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