#CA48A1#CA48A1

#CA48A1 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.8% C 0.190 H 342.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CA48A1
RGBrgb(202, 72, 161)
HSLhsl(319, 55%, 54%)
HSVhsv(319, 64%, 79%)
CMYKcmyk(0%, 64.4%, 20.3%, 20.8%)
CIE-LABlab(51.57, 60.54, -21.51)
CIE-LCHlch(51.57, 64.25, 340.44°)
OKLaboklab(60.75% 0.1811 -0.0576)
OKLCHoklch(60.75% 0.19 342.4)
XYZxyz(33.1085, 19.7676, 35.7832)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA48A1 #48CA71
analogous
#B248CA #CA48A1 #CA4860
triadic
#CA48A1 #A1CA48 #48A1CA
tetradic
#CA48A1 #CAB248 #48CA71 #4860CA
square
#CA48A1 #CAB248 #48CA71 #4860CA
split-complementary
#CA48A1 #60CA48 #48CAB2
monochromatic
#76225B #A53080 #CA48A1 #D877B9 #E5A7D2

Accessibility & contrast

On white

4.24
#CA48A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CA48A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA48A1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA48A1#FFFFFF#000000##000000
##CA48A11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#526DA4
Deuteranopia (green-blind)
#79839E
Tritanopia (blue-blind)
#D6496E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca48a1;
/* rgb */ color: rgb(202, 72, 161);
/* oklch */ color: oklch(60.8% 0.190 342.4);
Tailwind
colors: {
  custom: {
    50: '#de83bd',
    500: '#ca48a1',
    950: '#000000',
  },
}
SCSS
$custom: #ca48a1;
$custom-light: #de83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca48a1",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 161
  },
  "hsl": {
    "h": 318.923,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60751,
    "c": 0.19004,
    "h": 342.4
  },
  "luminance": 0.19764
}

Semantic roles & 50–950 ramp

primary
#CA48A1
secondary
#9BD3AD
accent
#DE7849
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA48A1

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

Preview Lab → · Contrast checker → · Palette generator →

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