#CA2CA8#CA2CA8

#CA2CA8 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.6% C 0.227 H 338.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CA2CA8
RGBrgb(202, 44, 168)
HSLhsl(313, 64%, 48%)
HSVhsv(313, 78%, 79%)
CMYKcmyk(0%, 78.2%, 16.8%, 20.8%)
CIE-LABlab(48.50, 71.01, -30.41)
CIE-LCHlch(48.50, 77.25, 336.82°)
OKLaboklab(58.61% 0.211 -0.0825)
OKLCHoklch(58.61% 0.227 338.6)
XYZxyz(32.3265, 17.1883, 38.6534)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2CA8 #2CCA4E
analogous
#9D2CCA #CA2CA8 #CA2C59
triadic
#CA2CA8 #A8CA2C #2CA8CA
tetradic
#CA2CA8 #CA9D2C #2CCA4E #2C59CA
square
#CA2CA8 #CA9D2C #2CCA4E #2C59CA
split-complementary
#CA2CA8 #59CA2C #2CCA9D
monochromatic
#651654 #98217E #CA2CA8 #DB58BF #E68BD2

Accessibility & contrast

On white

4.73
#CA2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CA2CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2CA8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2CA8#FFFFFF#000000##FFFFFF
##CA2CA81.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AB
Deuteranopia (green-blind)
#6C7CA4
Tritanopia (blue-blind)
#D63468
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca2ca8;
/* rgb */ color: rgb(202, 44, 168);
/* oklch */ color: oklch(58.6% 0.227 338.6);
Tailwind
colors: {
  custom: {
    50: '#de77c2',
    500: '#ca2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #ca2ca8;
$custom-light: #de77c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2ca8",
  "rgb": {
    "r": 202,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 312.911,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58614,
    "c": 0.22656,
    "h": 338.6
  },
  "luminance": 0.17185
}

Semantic roles & 50–950 ramp

primary
#CA2CA8
secondary
#82D093
accent
#E76441
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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