#CA45AB#CA45AB

#CA45AB is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 60.9% C 0.201 H 338.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CA45AB
RGBrgb(202, 69, 171)
HSLhsl(314, 56%, 53%)
HSVhsv(314, 66%, 79%)
CMYKcmyk(0%, 65.8%, 15.3%, 20.8%)
CIE-LABlab(51.56, 63.16, -27.41)
CIE-LCHlch(51.56, 68.85, 336.54°)
OKLaboklab(60.88% 0.1865 -0.0742)
OKLCHoklch(60.88% 0.201 338.3)
XYZxyz(33.8366, 19.7561, 40.5514)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45AB #45CA64
analogous
#A645CA #CA45AB #CA4568
triadic
#CA45AB #ABCA45 #45ABCA
tetradic
#CA45AB #CAA645 #45CA64 #4568CA
square
#CA45AB #CAA645 #45CA64 #4568CA
split-complementary
#CA45AB #68CA45 #45CAA6
monochromatic
#742160 #A32F88 #CA45AB #D875C1 #E5A4D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA45AB#FFFFFF#000000##000000
##CA45AB1.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)
#4A6EAE
Deuteranopia (green-blind)
#7482A8
Tritanopia (blue-blind)
#D54A72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca45ab;
/* rgb */ color: rgb(202, 69, 171);
/* oklch */ color: oklch(60.9% 0.201 338.3);
Tailwind
colors: {
  custom: {
    50: '#de82c4',
    500: '#ca45ab',
    950: '#000000',
  },
}
SCSS
$custom: #ca45ab;
$custom-light: #de82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45ab",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 313.985,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60878,
    "c": 0.20071,
    "h": 338.3
  },
  "luminance": 0.19753
}

Semantic roles & 50–950 ramp

primary
#CA45AB
secondary
#99D2A6
accent
#DF6C49
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA45AB

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

Preview Lab → · Contrast checker → · Palette generator →

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