#CA48AC#CA48AC

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

Color values

HEX#CA48AC
RGBrgb(202, 72, 172)
HSLhsl(314, 55%, 54%)
HSVhsv(314, 64%, 79%)
CMYKcmyk(0%, 64.4%, 14.9%, 20.8%)
CIE-LABlab(52.03, 62.12, -27.27)
CIE-LCHlch(52.03, 67.84, 336.30°)
OKLaboklab(61.24% 0.1831 -0.0738)
OKLCHoklch(61.24% 0.197 338.1)
XYZxyz(34.1215, 20.1728, 41.1184)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA48AC #48CA66
analogous
#A748CA #CA48AC #CA486B
triadic
#CA48AC #ACCA48 #48ACCA
tetradic
#CA48AC #CAA748 #48CA66 #486BCA
square
#CA48AC #CAA748 #48CA66 #486BCA
split-complementary
#CA48AC #6BCA48 #48CAA7
monochromatic
#762262 #A5308A #CA48AC #D877C2 #E5A7D7

Accessibility & contrast

On white

4.17
#CA48AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA48AC#FFFFFF#000000##000000
##CA48AC1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAF
Deuteranopia (green-blind)
#7583A9
Tritanopia (blue-blind)
#D54D73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca48ac;
/* rgb */ color: rgb(202, 72, 172);
/* oklch */ color: oklch(61.2% 0.197 338.1);
Tailwind
colors: {
  custom: {
    50: '#dd84c5',
    500: '#ca48ac',
    950: '#000000',
  },
}
SCSS
$custom: #ca48ac;
$custom-light: #dd84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca48ac",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 313.846,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61236,
    "c": 0.19742,
    "h": 338.1
  },
  "luminance": 0.2017
}

Semantic roles & 50–950 ramp

primary
#CA48AC
secondary
#9BD3A8
accent
#DE6C49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA48AC

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

Preview Lab → · Contrast checker → · Palette generator →

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