#CA2BA7#CA2BA7

#CA2BA7 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.5% C 0.227 H 339.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CA2BA7
RGBrgb(202, 43, 167)
HSLhsl(313, 65%, 48%)
HSVhsv(313, 79%, 79%)
CMYKcmyk(0%, 78.7%, 17.3%, 20.8%)
CIE-LABlab(48.36, 71.14, -30.04)
CIE-LCHlch(48.36, 77.22, 337.11°)
OKLaboklab(58.5% 0.2117 -0.0814)
OKLCHoklch(58.5% 0.227 339)
XYZxyz(32.1969, 17.0776, 38.1524)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2BA7 #2BCA4E
analogous
#9E2BCA #CA2BA7 #CA2B57
triadic
#CA2BA7 #A7CA2B #2BA7CA
tetradic
#CA2BA7 #CA9E2B #2BCA4E #2B57CA
square
#CA2BA7 #CA9E2B #2BCA4E #2B57CA
split-complementary
#CA2BA7 #57CA2B #2BCA9E
monochromatic
#651654 #98207D #CA2BA7 #DB57BE #E689D2

Accessibility & contrast

On white

4.76
#CA2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#CA2BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2BA7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2BA7#FFFFFF#000000##FFFFFF
##CA2BA71.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AA
Deuteranopia (green-blind)
#6C7CA3
Tritanopia (blue-blind)
#D63367
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca2ba7;
/* rgb */ color: rgb(202, 43, 167);
/* oklch */ color: oklch(58.5% 0.227 339.0);
Tailwind
colors: {
  custom: {
    50: '#df77c1',
    500: '#ca2ba7',
    950: '#000000',
  },
}
SCSS
$custom: #ca2ba7;
$custom-light: #df77c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2ba7",
  "rgb": {
    "r": 202,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 313.208,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58499,
    "c": 0.22681,
    "h": 339
  },
  "luminance": 0.17074
}

Semantic roles & 50–950 ramp

primary
#CA2BA7
secondary
#81D092
accent
#E86540
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA2BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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