#CA50B2#CA50B2

#CA50B2 is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.4% C 0.191 H 336.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CA50B2
RGBrgb(202, 80, 178)
HSLhsl(312, 54%, 55%)
HSVhsv(312, 60%, 79%)
CMYKcmyk(0%, 60.4%, 11.9%, 20.8%)
CIE-LABlab(53.50, 59.69, -28.48)
CIE-LCHlch(53.50, 66.13, 334.49°)
OKLaboklab(62.4% 0.1742 -0.0773)
OKLCHoklch(62.4% 0.191 336.1)
XYZxyz(35.2620, 21.5110, 44.4057)
Luminance0.2151 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA50B2 #50CA68
analogous
#A550CA #CA50B2 #CA5075
triadic
#CA50B2 #B2CA50 #50B2CA
tetradic
#CA50B2 #CAA550 #50CA68 #5075CA
square
#CA50B2 #CAA550 #50CA68 #5075CA
split-complementary
#CA50B2 #75CA50 #50CAA5
monochromatic
#7A256A #A93392 #CA50B2 #D87FC7 #E6AEDB

Accessibility & contrast

On white

3.96
#CA50B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CA50B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA50B2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA50B2#FFFFFF#000000##000000
##CA50B21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#7787AF
Tritanopia (blue-blind)
#D4567A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca50b2;
/* rgb */ color: rgb(202, 80, 178);
/* oklch */ color: oklch(62.4% 0.191 336.1);
Tailwind
colors: {
  custom: {
    50: '#dd88c9',
    500: '#ca50b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca50b2;
$custom-light: #dd88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca50b2",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 311.803,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62398,
    "c": 0.19059,
    "h": 336.1
  },
  "luminance": 0.21508
}

Semantic roles & 50–950 ramp

primary
#CA50B2
secondary
#A1D4AB
accent
#DD684B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA50B2

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

Preview Lab → · Contrast checker → · Palette generator →

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