#CA45B1#CA45B1

#CA45B1 is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.2% C 0.205 H 336.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CA45B1
RGBrgb(202, 69, 177)
HSLhsl(311, 56%, 53%)
HSVhsv(311, 66%, 79%)
CMYKcmyk(0%, 65.8%, 12.4%, 20.8%)
CIE-LABlab(51.83, 64.04, -30.51)
CIE-LCHlch(51.83, 70.94, 334.53°)
OKLaboklab(61.16% 0.1874 -0.083)
OKLCHoklch(61.16% 0.205 336.1)
XYZxyz(34.4215, 19.9900, 43.6320)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45B1 #45CA5E
analogous
#A045CA #CA45B1 #CA456E
triadic
#CA45B1 #B1CA45 #45B1CA
tetradic
#CA45B1 #CAA045 #45CA5E #456ECA
square
#CA45B1 #CAA045 #45CA5E #456ECA
split-complementary
#CA45B1 #6ECA45 #45CAA0
monochromatic
#742164 #A32F8D #CA45B1 #D875C5 #E5A4D9

Accessibility & contrast

On white

4.20
#CA45B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CA45B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45B1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45B1#FFFFFF#000000##000000
##CA45B11.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#476FB4
Deuteranopia (green-blind)
#7283AE
Tritanopia (blue-blind)
#D44D75
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca45b1;
/* rgb */ color: rgb(202, 69, 177);
/* oklch */ color: oklch(61.2% 0.205 336.1);
Tailwind
colors: {
  custom: {
    50: '#de82c8',
    500: '#ca45b1',
    950: '#000000',
  },
}
SCSS
$custom: #ca45b1;
$custom-light: #de82c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45b1",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 311.278,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61158,
    "c": 0.20493,
    "h": 336.1
  },
  "luminance": 0.19987
}

Semantic roles & 50–950 ramp

primary
#CA45B1
secondary
#99D2A4
accent
#DF6549
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA45B1

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

Preview Lab → · Contrast checker → · Palette generator →

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