#CA2BA9#CA2BA9

#CA2BA9 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.6% C 0.228 H 338.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CA2BA9
RGBrgb(202, 43, 169)
HSLhsl(312, 65%, 48%)
HSVhsv(312, 79%, 79%)
CMYKcmyk(0%, 78.7%, 16.3%, 20.8%)
CIE-LABlab(48.45, 71.41, -31.08)
CIE-LCHlch(48.45, 77.88, 336.48°)
OKLaboklab(58.6% 0.2119 -0.0844)
OKLCHoklch(58.6% 0.228 338.3)
XYZxyz(32.3832, 17.1521, 39.1336)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2BA9 #2BCA4C
analogous
#9B2BCA #CA2BA9 #CA2B59
triadic
#CA2BA9 #A9CA2B #2BA9CA
tetradic
#CA2BA9 #CA9B2B #2BCA4C #2B59CA
square
#CA2BA9 #CA9B2B #2BCA4C #2B59CA
split-complementary
#CA2BA9 #59CA2B #2BCA9B
monochromatic
#651655 #98207F #CA2BA9 #DB57C0 #E689D3

Accessibility & contrast

On white

4.74
#CA2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#CA2BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2BA9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2BA9#FFFFFF#000000##FFFFFF
##CA2BA91.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3463AC
Deuteranopia (green-blind)
#6B7CA5
Tritanopia (blue-blind)
#D53469
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca2ba9;
/* rgb */ color: rgb(202, 43, 169);
/* oklch */ color: oklch(58.6% 0.228 338.3);
Tailwind
colors: {
  custom: {
    50: '#de77c3',
    500: '#ca2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #ca2ba9;
$custom-light: #de77c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2ba9",
  "rgb": {
    "r": 202,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 312.453,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58597,
    "c": 0.22808,
    "h": 338.3
  },
  "luminance": 0.17149
}

Semantic roles & 50–950 ramp

primary
#CA2BA9
secondary
#81D091
accent
#E86340
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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