#CA45B2#CA45B2

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

Color values

HEX#CA45B2
RGBrgb(202, 69, 178)
HSLhsl(311, 56%, 53%)
HSVhsv(311, 66%, 79%)
CMYKcmyk(0%, 65.8%, 11.9%, 20.8%)
CIE-LABlab(51.87, 64.19, -31.02)
CIE-LCHlch(51.87, 71.30, 334.21°)
OKLaboklab(61.21% 0.1875 -0.0844)
OKLCHoklch(61.21% 0.206 335.8)
XYZxyz(34.5215, 20.0301, 44.1589)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45B2 #45CA5D
analogous
#9F45CA #CA45B2 #CA456F
triadic
#CA45B2 #B2CA45 #45B2CA
tetradic
#CA45B2 #CA9F45 #45CA5D #456FCA
square
#CA45B2 #CA9F45 #45CA5D #456FCA
split-complementary
#CA45B2 #6FCA45 #45CA9F
monochromatic
#742165 #A32F8E #CA45B2 #D875C6 #E5A4D9

Accessibility & contrast

On white

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

On black

5.01
#CA45B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45B2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45B2#FFFFFF#000000##000000
##CA45B21.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#7183AF
Tritanopia (blue-blind)
#D44D75
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca45b2;
/* rgb */ color: rgb(202, 69, 178);
/* oklch */ color: oklch(61.2% 0.206 335.8);
Tailwind
colors: {
  custom: {
    50: '#de82c9',
    500: '#ca45b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca45b2;
$custom-light: #de82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45b2",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 310.827,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61206,
    "c": 0.20564,
    "h": 335.8
  },
  "luminance": 0.20027
}

Semantic roles & 50–950 ramp

primary
#CA45B2
secondary
#99D2A3
accent
#DF6449
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA45B2

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

Preview Lab → · Contrast checker → · Palette generator →

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