#CA2BA5#CA2BA5

#CA2BA5 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.4% C 0.226 H 339.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CA2BA5
RGBrgb(202, 43, 165)
HSLhsl(314, 65%, 48%)
HSVhsv(314, 79%, 79%)
CMYKcmyk(0%, 78.7%, 18.3%, 20.8%)
CIE-LABlab(48.27, 70.88, -29.00)
CIE-LCHlch(48.27, 76.58, 337.75°)
OKLaboklab(58.4% 0.2115 -0.0785)
OKLCHoklch(58.4% 0.226 339.6)
XYZxyz(32.0135, 17.0042, 37.1862)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2BA5 #2BCA50
analogous
#9F2BCA #CA2BA5 #CA2B56
triadic
#CA2BA5 #A5CA2B #2BA5CA
tetradic
#CA2BA5 #CA9F2B #2BCA50 #2B56CA
square
#CA2BA5 #CA9F2B #2BCA50 #2B56CA
split-complementary
#CA2BA5 #56CA2B #2BCA9F
monochromatic
#651653 #98207C #CA2BA5 #DB57BC #E689D0

Accessibility & contrast

On white

4.77
#CA2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CA2BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2BA5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2BA5#FFFFFF#000000##FFFFFF
##CA2BA51.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3763A8
Deuteranopia (green-blind)
#6D7BA1
Tritanopia (blue-blind)
#D63266
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca2ba5;
/* rgb */ color: rgb(202, 43, 165);
/* oklch */ color: oklch(58.4% 0.226 339.6);
Tailwind
colors: {
  custom: {
    50: '#df77c0',
    500: '#ca2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #ca2ba5;
$custom-light: #df77c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2ba5",
  "rgb": {
    "r": 202,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 313.962,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58403,
    "c": 0.22557,
    "h": 339.6
  },
  "luminance": 0.17001
}

Semantic roles & 50–950 ramp

primary
#CA2BA5
secondary
#81D093
accent
#E86740
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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