#CA48B2#CA48B2

#CA48B2 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.5% C 0.202 H 335.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CA48B2
RGBrgb(202, 72, 178)
HSLhsl(311, 55%, 54%)
HSVhsv(311, 64%, 79%)
CMYKcmyk(0%, 64.4%, 11.9%, 20.8%)
CIE-LABlab(52.30, 63.01, -30.36)
CIE-LCHlch(52.30, 69.95, 334.27°)
OKLaboklab(61.52% 0.184 -0.0826)
OKLCHoklch(61.52% 0.202 335.8)
XYZxyz(34.7108, 20.4085, 44.2220)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA48B2 #48CA60
analogous
#A148CA #CA48B2 #CA4871
triadic
#CA48B2 #B2CA48 #48B2CA
tetradic
#CA48B2 #CAA148 #48CA60 #4871CA
square
#CA48B2 #CAA148 #48CA60 #4871CA
split-complementary
#CA48B2 #71CA48 #48CAA1
monochromatic
#762266 #A5308F #CA48B2 #D877C6 #E5A7DA

Accessibility & contrast

On white

4.13
#CA48B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CA48B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA48B2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA48B2#FFFFFF#000000##000000
##CA48B21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#7384AF
Tritanopia (blue-blind)
#D45077
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca48b2;
/* rgb */ color: rgb(202, 72, 178);
/* oklch */ color: oklch(61.5% 0.202 335.8);
Tailwind
colors: {
  custom: {
    50: '#dd84c9',
    500: '#ca48b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca48b2;
$custom-light: #dd84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca48b2",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 311.077,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61515,
    "c": 0.2017,
    "h": 335.8
  },
  "luminance": 0.20406
}

Semantic roles & 50–950 ramp

primary
#CA48B2
secondary
#9BD3A5
accent
#DE6549
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CA48B2

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

Preview Lab → · Contrast checker → · Palette generator →

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