#CA2DAF#CA2DAF

#CA2DAF is a mid, highly saturated pink. Relative luminance 0.175; OKLCH L 59.0% C 0.230 H 336.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CA2DAF
RGBrgb(202, 45, 175)
HSLhsl(310, 64%, 48%)
HSVhsv(310, 78%, 79%)
CMYKcmyk(0%, 77.7%, 13.4%, 20.8%)
CIE-LABlab(48.92, 71.70, -33.88)
CIE-LCHlch(48.92, 79.30, 334.71°)
OKLaboklab(59.03% 0.2108 -0.0924)
OKLCHoklch(59.03% 0.23 336.3)
XYZxyz(33.0340, 17.5316, 42.1933)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2DAF #2DCA48
analogous
#962DCA #CA2DAF #CA2D61
triadic
#CA2DAF #AFCA2D #2DAFCA
tetradic
#CA2DAF #CA962D #2DCA48 #2D61CA
square
#CA2DAF #CA962D #2DCA48 #2D61CA
split-complementary
#CA2DAF #61CA2D #2DCA96
monochromatic
#661758 #982284 #CA2DAF #DA5AC4 #E58CD6

Accessibility & contrast

On white

4.66
#CA2DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#CA2DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2DAF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2DAF#FFFFFF#000000##FFFFFF
##CA2DAF1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#697DAB
Tritanopia (blue-blind)
#D5396C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca2daf;
/* rgb */ color: rgb(202, 45, 175);
/* oklch */ color: oklch(59.0% 0.230 336.3);
Tailwind
colors: {
  custom: {
    50: '#de78c7',
    500: '#ca2daf',
    950: '#000000',
  },
}
SCSS
$custom: #ca2daf;
$custom-light: #de78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2daf",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 310.318,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59029,
    "c": 0.23017,
    "h": 336.3
  },
  "luminance": 0.17528
}

Semantic roles & 50–950 ramp

primary
#CA2DAF
secondary
#83CF90
accent
#E75E41
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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