#CA2BAC#CA2BAC

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

Color values

HEX#CA2BAC
RGBrgb(202, 43, 172)
HSLhsl(311, 65%, 48%)
HSVhsv(311, 79%, 79%)
CMYKcmyk(0%, 78.7%, 14.9%, 20.8%)
CIE-LABlab(48.59, 71.82, -32.62)
CIE-LCHlch(48.59, 78.88, 335.57°)
OKLaboklab(58.75% 0.2122 -0.0888)
OKLCHoklch(58.75% 0.23 337.3)
XYZxyz(32.6681, 17.2660, 40.6339)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2BAC #2BCA49
analogous
#982BCA #CA2BAC #CA2B5C
triadic
#CA2BAC #ACCA2B #2BACCA
tetradic
#CA2BAC #CA982B #2BCA49 #2B5CCA
square
#CA2BAC #CA982B #2BCA49 #2B5CCA
split-complementary
#CA2BAC #5CCA2B #2BCA98
monochromatic
#651656 #982081 #CA2BAC #DB57C2 #E689D5

Accessibility & contrast

On white

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

On black

4.45
#CA2BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CA2BAC#FFFFFF#000000##FFFFFF
##CA2BAC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3164AF
Deuteranopia (green-blind)
#6A7CA8
Tritanopia (blue-blind)
#D5366A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca2bac;
/* rgb */ color: rgb(202, 43, 172);
/* oklch */ color: oklch(58.7% 0.230 337.3);
Tailwind
colors: {
  custom: {
    50: '#de77c5',
    500: '#ca2bac',
    950: '#000000',
  },
}
SCSS
$custom: #ca2bac;
$custom-light: #de77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2bac",
  "rgb": {
    "r": 202,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 311.321,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58745,
    "c": 0.23,
    "h": 337.3
  },
  "luminance": 0.17263
}

Semantic roles & 50–950 ramp

primary
#CA2BAC
secondary
#81D090
accent
#E86040
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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