#CA48AB#CA48AB

#CA48AB is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.2% C 0.197 H 338.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CA48AB
RGBrgb(202, 72, 171)
HSLhsl(314, 55%, 54%)
HSVhsv(314, 64%, 79%)
CMYKcmyk(0%, 64.4%, 15.3%, 20.8%)
CIE-LABlab(51.99, 61.97, -26.75)
CIE-LCHlch(51.99, 67.50, 336.65°)
OKLaboklab(61.19% 0.183 -0.0723)
OKLCHoklch(61.19% 0.197 338.4)
XYZxyz(34.0258, 20.1345, 40.6145)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA48AB #48CA67
analogous
#A848CA #CA48AB #CA486A
triadic
#CA48AB #ABCA48 #48ABCA
tetradic
#CA48AB #CAA848 #48CA67 #486ACA
square
#CA48AB #CAA848 #48CA67 #486ACA
split-complementary
#CA48AB #6ACA48 #48CAA8
monochromatic
#762262 #A53089 #CA48AB #D877C1 #E5A7D7

Accessibility & contrast

On white

4.18
#CA48AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CA48AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA48AB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA48AB#FFFFFF#000000##000000
##CA48AB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAE
Deuteranopia (green-blind)
#7683A8
Tritanopia (blue-blind)
#D54D73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca48ab;
/* rgb */ color: rgb(202, 72, 171);
/* oklch */ color: oklch(61.2% 0.197 338.4);
Tailwind
colors: {
  custom: {
    50: '#dd84c4',
    500: '#ca48ab',
    950: '#000000',
  },
}
SCSS
$custom: #ca48ab;
$custom-light: #dd84c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca48ab",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 314.308,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61191,
    "c": 0.19673,
    "h": 338.4
  },
  "luminance": 0.20132
}

Semantic roles & 50–950 ramp

primary
#CA48AB
secondary
#9BD3A8
accent
#DE6D49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA48AB

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

Preview Lab → · Contrast checker → · Palette generator →

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