#CA45B3#CA45B3

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

Color values

HEX#CA45B3
RGBrgb(202, 69, 179)
HSLhsl(310, 56%, 53%)
HSVhsv(310, 66%, 79%)
CMYKcmyk(0%, 65.8%, 11.4%, 20.8%)
CIE-LABlab(51.92, 64.34, -31.53)
CIE-LCHlch(51.92, 71.66, 333.89°)
OKLaboklab(61.25% 0.1876 -0.0859)
OKLCHoklch(61.25% 0.206 335.4)
XYZxyz(34.6223, 20.0704, 44.6896)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45B3 #45CA5C
analogous
#9E45CA #CA45B3 #CA4570
triadic
#CA45B3 #B3CA45 #45B3CA
tetradic
#CA45B3 #CA9E45 #45CA5C #4570CA
square
#CA45B3 #CA9E45 #45CA5C #4570CA
split-complementary
#CA45B3 #70CA45 #45CA9E
monochromatic
#742165 #A32F8F #CA45B3 #D875C6 #E5A4DA

Accessibility & contrast

On white

4.19
#CA45B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA45B3#FFFFFF#000000##000000
##CA45B31.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#456FB6
Deuteranopia (green-blind)
#7183B0
Tritanopia (blue-blind)
#D44E76
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca45b3;
/* rgb */ color: rgb(202, 69, 179);
/* oklch */ color: oklch(61.3% 0.206 335.4);
Tailwind
colors: {
  custom: {
    50: '#de82ca',
    500: '#ca45b3',
    950: '#000000',
  },
}
SCSS
$custom: #ca45b3;
$custom-light: #de82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45b3",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 310.376,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61254,
    "c": 0.20636,
    "h": 335.4
  },
  "luminance": 0.20067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA45B3

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

Preview Lab → · Contrast checker → · Palette generator →

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