#CA2D7F#CA2D7F

#CA2D7F is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 56.9% C 0.203 H 354.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CA2D7F
RGBrgb(202, 45, 127)
HSLhsl(329, 64%, 48%)
HSVhsv(329, 78%, 79%)
CMYKcmyk(0%, 77.7%, 37.1%, 20.8%)
CIE-LABlab(46.93, 65.83, -8.18)
CIE-LCHlch(46.93, 66.34, 352.92°)
OKLaboklab(56.94% 0.2023 -0.0208)
OKLCHoklch(56.94% 0.203 354.1)
XYZxyz(29.1282, 15.9693, 21.6230)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2D7F #2DCA78
analogous
#C62DCA #CA2D7F #CA2D31
triadic
#CA2D7F #7FCA2D #2D7FCA
tetradic
#CA2D7F #CAC62D #2DCA78 #2D31CA
square
#CA2D7F #CAC62D #2DCA78 #2D31CA
split-complementary
#CA2D7F #31CA2D #2DCAC6
monochromatic
#661740 #982260 #CA2D7F #DA5A9D #E58CBB

Accessibility & contrast

On white

5.01
#CA2D7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#CA2D7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2D7F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2D7F#FFFFFF#000000##FFFFFF
##CA2D7F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D81
Deuteranopia (green-blind)
#797A7B
Tritanopia (blue-blind)
#DA1953
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2d7f;
/* rgb */ color: rgb(202, 45, 127);
/* oklch */ color: oklch(56.9% 0.203 354.1);
Tailwind
colors: {
  custom: {
    50: '#df76a4',
    500: '#ca2d7f',
    950: '#000000',
  },
}
SCSS
$custom: #ca2d7f;
$custom-light: #df76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2d7f",
  "rgb": {
    "r": 202,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 328.662,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5694,
    "c": 0.20337,
    "h": 354.1
  },
  "luminance": 0.15966
}

Semantic roles & 50–950 ramp

primary
#CA2D7F
secondary
#83CFA8
accent
#E79041
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA2D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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