#CA48AD#CA48AD

#CA48AD is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.3% C 0.198 H 337.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CA48AD
RGBrgb(202, 72, 173)
HSLhsl(313, 55%, 54%)
HSVhsv(313, 64%, 79%)
CMYKcmyk(0%, 64.4%, 14.4%, 20.8%)
CIE-LABlab(52.08, 62.26, -27.78)
CIE-LCHlch(52.08, 68.18, 335.95°)
OKLaboklab(61.28% 0.1833 -0.0752)
OKLCHoklch(61.28% 0.198 337.7)
XYZxyz(34.2179, 20.2114, 41.6261)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA48AD #48CA65
analogous
#A648CA #CA48AD #CA486C
triadic
#CA48AD #ADCA48 #48ADCA
tetradic
#CA48AD #CAA648 #48CA65 #486CCA
square
#CA48AD #CAA648 #48CA65 #486CCA
split-complementary
#CA48AD #6CCA48 #48CAA6
monochromatic
#762263 #A5308B #CA48AD #D877C2 #E5A7D8

Accessibility & contrast

On white

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

On black

5.04
#CA48AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA48AD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA48AD#FFFFFF#000000##000000
##CA48AD1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FB0
Deuteranopia (green-blind)
#7583AA
Tritanopia (blue-blind)
#D44E74
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca48ad;
/* rgb */ color: rgb(202, 72, 173);
/* oklch */ color: oklch(61.3% 0.198 337.7);
Tailwind
colors: {
  custom: {
    50: '#dd84c5',
    500: '#ca48ad',
    950: '#000000',
  },
}
SCSS
$custom: #ca48ad;
$custom-light: #dd84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca48ad",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 173
  },
  "hsl": {
    "h": 313.385,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61282,
    "c": 0.19812,
    "h": 337.7
  },
  "luminance": 0.20208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA48AD

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

Preview Lab → · Contrast checker → · Palette generator →

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