#CA2BAD#CA2BAD

#CA2BAD is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.8% C 0.231 H 337.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CA2BAD
RGBrgb(202, 43, 173)
HSLhsl(311, 65%, 48%)
HSVhsv(311, 79%, 79%)
CMYKcmyk(0%, 78.7%, 14.4%, 20.8%)
CIE-LABlab(48.64, 71.96, -33.14)
CIE-LCHlch(48.64, 79.22, 335.27°)
OKLaboklab(58.79% 0.2122 -0.0903)
OKLCHoklch(58.79% 0.231 337)
XYZxyz(32.7645, 17.3046, 41.1416)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2BAD #2BCA48
analogous
#972BCA #CA2BAD #CA2B5E
triadic
#CA2BAD #ADCA2B #2BADCA
tetradic
#CA2BAD #CA972B #2BCA48 #2B5ECA
square
#CA2BAD #CA972B #2BCA48 #2B5ECA
split-complementary
#CA2BAD #5ECA2B #2BCA97
monochromatic
#651657 #982082 #CA2BAD #DB57C3 #E689D5

Accessibility & contrast

On white

4.71
#CA2BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CA2BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2BAD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2BAD#FFFFFF#000000##FFFFFF
##CA2BAD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3064B0
Deuteranopia (green-blind)
#697CA9
Tritanopia (blue-blind)
#D5376B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca2bad;
/* rgb */ color: rgb(202, 43, 173);
/* oklch */ color: oklch(58.8% 0.231 337.0);
Tailwind
colors: {
  custom: {
    50: '#de77c6',
    500: '#ca2bad',
    950: '#000000',
  },
}
SCSS
$custom: #ca2bad;
$custom-light: #de77c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2bad",
  "rgb": {
    "r": 202,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 310.943,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58795,
    "c": 0.23065,
    "h": 337
  },
  "luminance": 0.17301
}

Semantic roles & 50–950 ramp

primary
#CA2BAD
secondary
#81D08F
accent
#E85F40
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA2BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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