#CA2EA8#CA2EA8

#CA2EA8 is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.8% C 0.225 H 338.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CA2EA8
RGBrgb(202, 46, 168)
HSLhsl(313, 63%, 49%)
HSVhsv(313, 77%, 79%)
CMYKcmyk(0%, 77.2%, 16.8%, 20.8%)
CIE-LABlab(48.69, 70.47, -30.12)
CIE-LCHlch(48.69, 76.63, 336.86°)
OKLaboklab(58.75% 0.2094 -0.0817)
OKLCHoklch(58.75% 0.225 338.7)
XYZxyz(32.4028, 17.3409, 38.6788)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2EA8 #2ECA50
analogous
#9E2ECA #CA2EA8 #CA2E5A
triadic
#CA2EA8 #A8CA2E #2EA8CA
tetradic
#CA2EA8 #CA9E2E #2ECA50 #2E5ACA
square
#CA2EA8 #CA9E2E #2ECA50 #2E5ACA
split-complementary
#CA2EA8 #5ACA2E #2ECA9E
monochromatic
#661755 #98237F #CA2EA8 #DA5BBE #E58DD2

Accessibility & contrast

On white

4.70
#CA2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CA2EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2EA8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2EA8#FFFFFF#000000##FFFFFF
##CA2EA81.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AB
Deuteranopia (green-blind)
#6C7CA4
Tritanopia (blue-blind)
#D63669
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca2ea8;
/* rgb */ color: rgb(202, 46, 168);
/* oklch */ color: oklch(58.8% 0.225 338.7);
Tailwind
colors: {
  custom: {
    50: '#de78c2',
    500: '#ca2ea8',
    950: '#000000',
  },
}
SCSS
$custom: #ca2ea8;
$custom-light: #de78c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2ea8",
  "rgb": {
    "r": 202,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 313.077,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58751,
    "c": 0.22472,
    "h": 338.7
  },
  "luminance": 0.17338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA2EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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