#CA2AAF#CA2AAF

#CA2AAF is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.8% C 0.233 H 336.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CA2AAF
RGBrgb(202, 42, 175)
HSLhsl(310, 66%, 48%)
HSVhsv(310, 79%, 79%)
CMYKcmyk(0%, 79.2%, 13.4%, 20.8%)
CIE-LABlab(48.65, 72.49, -34.30)
CIE-LCHlch(48.65, 80.20, 334.67°)
OKLaboklab(58.83% 0.2132 -0.0936)
OKLCHoklch(58.83% 0.233 336.3)
XYZxyz(32.9235, 17.3108, 42.1565)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2AAF #2ACA45
analogous
#952ACA #CA2AAF #CA2A5F
triadic
#CA2AAF #AFCA2A #2AAFCA
tetradic
#CA2AAF #CA952A #2ACA45 #2A5FCA
square
#CA2AAF #CA952A #2ACA45 #2A5FCA
split-complementary
#CA2AAF #5FCA2A #2ACA95
monochromatic
#651557 #971F83 #CA2AAF #DC55C5 #E688D6

Accessibility & contrast

On white

4.71
#CA2AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CA2AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2AAF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2AAF#FFFFFF#000000##FFFFFF
##CA2AAF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#687CAB
Tritanopia (blue-blind)
#D5376C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca2aaf;
/* rgb */ color: rgb(202, 42, 175);
/* oklch */ color: oklch(58.8% 0.233 336.3);
Tailwind
colors: {
  custom: {
    50: '#de77c7',
    500: '#ca2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #ca2aaf;
$custom-light: #de77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2aaf",
  "rgb": {
    "r": 202,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 310.125,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58832,
    "c": 0.23281,
    "h": 336.3
  },
  "luminance": 0.17308
}

Semantic roles & 50–950 ramp

primary
#CA2AAF
secondary
#80D08D
accent
#E95C3F
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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