#CA2F82#CA2F82

#CA2F82 is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.2% C 0.203 H 353.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CA2F82
RGBrgb(202, 47, 130)
HSLhsl(328, 62%, 49%)
HSVhsv(328, 77%, 79%)
CMYKcmyk(0%, 76.7%, 35.6%, 20.8%)
CIE-LABlab(47.24, 65.57, -9.54)
CIE-LCHlch(47.24, 66.26, 351.72°)
OKLaboklab(57.2% 0.2013 -0.0245)
OKLCHoklch(57.2% 0.203 353.1)
XYZxyz(29.4048, 16.2049, 22.6942)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F82 #2FCA77
analogous
#C52FCA #CA2F82 #CA2F35
triadic
#CA2F82 #82CA2F #2F82CA
tetradic
#CA2F82 #CAC52F #2FCA77 #2F35CA
square
#CA2F82 #CAC52F #2FCA77 #2F35CA
split-complementary
#CA2F82 #35CA2F #2FCAC5
monochromatic
#671842 #982362 #CA2F82 #D95DA0 #E58FBD

Accessibility & contrast

On white

4.95
#CA2F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#CA2F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2F82
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F82#FFFFFF#000000##FFFFFF
##CA2F821.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E84
Deuteranopia (green-blind)
#797A7F
Tritanopia (blue-blind)
#DA1E55
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca2f82;
/* rgb */ color: rgb(202, 47, 130);
/* oklch */ color: oklch(57.2% 0.203 353.1);
Tailwind
colors: {
  custom: {
    50: '#df77a6',
    500: '#ca2f82',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f82;
$custom-light: #df77a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f82",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 327.871,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57199,
    "c": 0.20276,
    "h": 353.1
  },
  "luminance": 0.16201
}

Semantic roles & 50–950 ramp

primary
#CA2F82
secondary
#86CFA8
accent
#E58E42
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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