#CA2AA7#CA2AA7

#CA2AA7 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.4% C 0.228 H 338.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CA2AA7
RGBrgb(202, 42, 167)
HSLhsl(313, 66%, 48%)
HSVhsv(313, 79%, 79%)
CMYKcmyk(0%, 79.2%, 17.3%, 20.8%)
CIE-LABlab(48.27, 71.40, -30.18)
CIE-LCHlch(48.27, 77.52, 337.09°)
OKLaboklab(58.43% 0.2125 -0.0818)
OKLCHoklch(58.43% 0.228 338.9)
XYZxyz(32.1610, 17.0057, 38.1404)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2AA7 #2ACA4D
analogous
#9D2ACA #CA2AA7 #CA2A57
triadic
#CA2AA7 #A7CA2A #2AA7CA
tetradic
#CA2AA7 #CA9D2A #2ACA4D #2A57CA
square
#CA2AA7 #CA9D2A #2ACA4D #2A57CA
split-complementary
#CA2AA7 #57CA2A #2ACA9D
monochromatic
#651553 #971F7D #CA2AA7 #DC55BE #E688D2

Accessibility & contrast

On white

4.77
#CA2AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CA2AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2AA7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2AA7#FFFFFF#000000##FFFFFF
##CA2AA71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AA
Deuteranopia (green-blind)
#6C7BA3
Tritanopia (blue-blind)
#D63267
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca2aa7;
/* rgb */ color: rgb(202, 42, 167);
/* oklch */ color: oklch(58.4% 0.228 338.9);
Tailwind
colors: {
  custom: {
    50: '#df76c1',
    500: '#ca2aa7',
    950: '#000000',
  },
}
SCSS
$custom: #ca2aa7;
$custom-light: #df76c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2aa7",
  "rgb": {
    "r": 202,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 313.125,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58434,
    "c": 0.22769,
    "h": 338.9
  },
  "luminance": 0.17003
}

Semantic roles & 50–950 ramp

primary
#CA2AA7
secondary
#80D091
accent
#E9643F
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA2AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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