#CA2CAF#CA2CAF

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

Color values

HEX#CA2CAF
RGBrgb(202, 44, 175)
HSLhsl(310, 64%, 48%)
HSVhsv(310, 78%, 79%)
CMYKcmyk(0%, 78.2%, 13.4%, 20.8%)
CIE-LABlab(48.83, 71.97, -34.02)
CIE-LCHlch(48.83, 79.61, 334.70°)
OKLaboklab(58.96% 0.2116 -0.0928)
OKLCHoklch(58.96% 0.231 336.3)
XYZxyz(32.9963, 17.4562, 42.1807)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2CAF #2CCA47
analogous
#962CCA #CA2CAF #CA2C60
triadic
#CA2CAF #AFCA2C #2CAFCA
tetradic
#CA2CAF #CA962C #2CCA47 #2C60CA
square
#CA2CAF #CA962C #2CCA47 #2C60CA
split-complementary
#CA2CAF #60CA2C #2CCA96
monochromatic
#651658 #982183 #CA2CAF #DB58C4 #E68BD6

Accessibility & contrast

On white

4.68
#CA2CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#CA2CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2CAF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2CAF#FFFFFF#000000##FFFFFF
##CA2CAF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F65B2
Deuteranopia (green-blind)
#697CAB
Tritanopia (blue-blind)
#D5396C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca2caf;
/* rgb */ color: rgb(202, 44, 175);
/* oklch */ color: oklch(59.0% 0.231 336.3);
Tailwind
colors: {
  custom: {
    50: '#de77c7',
    500: '#ca2caf',
    950: '#000000',
  },
}
SCSS
$custom: #ca2caf;
$custom-light: #de77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2caf",
  "rgb": {
    "r": 202,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 310.253,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58962,
    "c": 0.23107,
    "h": 336.3
  },
  "luminance": 0.17453
}

Semantic roles & 50–950 ramp

primary
#CA2CAF
secondary
#82D08F
accent
#E75D41
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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