#CA45AF#CA45AF

#CA45AF is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.1% C 0.204 H 336.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CA45AF
RGBrgb(202, 69, 175)
HSLhsl(312, 56%, 53%)
HSVhsv(312, 66%, 79%)
CMYKcmyk(0%, 65.8%, 13.4%, 20.8%)
CIE-LABlab(51.74, 63.75, -29.48)
CIE-LCHlch(51.74, 70.23, 335.18°)
OKLaboklab(61.06% 0.1871 -0.08)
OKLCHoklch(61.06% 0.204 336.8)
XYZxyz(34.2236, 19.9109, 42.5899)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45AF #45CA60
analogous
#A245CA #CA45AF #CA456C
triadic
#CA45AF #AFCA45 #45AFCA
tetradic
#CA45AF #CAA245 #45CA60 #456CCA
square
#CA45AF #CAA245 #45CA60 #456CCA
split-complementary
#CA45AF #6CCA45 #45CAA2
monochromatic
#742163 #A32F8C #CA45AF #D875C3 #E5A4D8

Accessibility & contrast

On white

4.22
#CA45AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CA45AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45AF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45AF#FFFFFF#000000##000000
##CA45AF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#486EB2
Deuteranopia (green-blind)
#7383AC
Tritanopia (blue-blind)
#D44C74
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca45af;
/* rgb */ color: rgb(202, 69, 175);
/* oklch */ color: oklch(61.1% 0.204 336.8);
Tailwind
colors: {
  custom: {
    50: '#de82c7',
    500: '#ca45af',
    950: '#000000',
  },
}
SCSS
$custom: #ca45af;
$custom-light: #de82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45af",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 312.18,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61064,
    "c": 0.20351,
    "h": 336.8
  },
  "luminance": 0.19908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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