#CA2F81#CA2F81

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

Color values

HEX#CA2F81
RGBrgb(202, 47, 129)
HSLhsl(328, 62%, 49%)
HSVhsv(328, 77%, 79%)
CMYKcmyk(0%, 76.7%, 36.1%, 20.8%)
CIE-LABlab(47.21, 65.46, -8.99)
CIE-LCHlch(47.21, 66.08, 352.18°)
OKLaboklab(57.16% 0.201 -0.023)
OKLCHoklch(57.16% 0.202 353.5)
XYZxyz(29.3380, 16.1782, 22.3424)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F81 #2FCA78
analogous
#C62FCA #CA2F81 #CA2F34
triadic
#CA2F81 #81CA2F #2F81CA
tetradic
#CA2F81 #CAC62F #2FCA78 #2F34CA
square
#CA2F81 #CAC62F #2FCA78 #2F34CA
split-complementary
#CA2F81 #34CA2F #2FCAC6
monochromatic
#671842 #982361 #CA2F81 #D95D9F #E58FBC

Accessibility & contrast

On white

4.96
#CA2F81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#CA2F81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2F81
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F81#FFFFFF#000000##FFFFFF
##CA2F811.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E83
Deuteranopia (green-blind)
#797A7E
Tritanopia (blue-blind)
#DA1D54
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca2f81;
/* rgb */ color: rgb(202, 47, 129);
/* oklch */ color: oklch(57.2% 0.202 353.5);
Tailwind
colors: {
  custom: {
    50: '#df77a5',
    500: '#ca2f81',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f81;
$custom-light: #df77a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f81",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 328.258,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57162,
    "c": 0.20232,
    "h": 353.5
  },
  "luminance": 0.16175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA2F81

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

Preview Lab → · Contrast checker → · Palette generator →

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