#CA2BAB#CA2BAB

#CA2BAB is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.7% C 0.229 H 337.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CA2BAB
RGBrgb(202, 43, 171)
HSLhsl(312, 65%, 48%)
HSVhsv(312, 79%, 79%)
CMYKcmyk(0%, 78.7%, 15.3%, 20.8%)
CIE-LABlab(48.55, 71.68, -32.11)
CIE-LCHlch(48.55, 78.55, 335.87°)
OKLaboklab(58.7% 0.2121 -0.0873)
OKLCHoklch(58.7% 0.229 337.6)
XYZxyz(32.5724, 17.2278, 40.1300)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2BAB #2BCA4A
analogous
#992BCA #CA2BAB #CA2B5B
triadic
#CA2BAB #ABCA2B #2BABCA
tetradic
#CA2BAB #CA992B #2BCA4A #2B5BCA
square
#CA2BAB #CA992B #2BCA4A #2B5BCA
split-complementary
#CA2BAB #5BCA2B #2BCA99
monochromatic
#651656 #982080 #CA2BAB #DB57C1 #E689D4

Accessibility & contrast

On white

4.72
#CA2BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA2BAB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2BAB#FFFFFF#000000##FFFFFF
##CA2BAB1.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3264AE
Deuteranopia (green-blind)
#6A7CA7
Tritanopia (blue-blind)
#D5366A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca2bab;
/* rgb */ color: rgb(202, 43, 171);
/* oklch */ color: oklch(58.7% 0.229 337.6);
Tailwind
colors: {
  custom: {
    50: '#de77c4',
    500: '#ca2bab',
    950: '#000000',
  },
}
SCSS
$custom: #ca2bab;
$custom-light: #de77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2bab",
  "rgb": {
    "r": 202,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 311.698,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58696,
    "c": 0.22936,
    "h": 337.6
  },
  "luminance": 0.17225
}

Semantic roles & 50–950 ramp

primary
#CA2BAB
secondary
#81D090
accent
#E86140
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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