#CA2B7D#CA2B7D

#CA2B7D is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.7% C 0.204 H 354.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CA2B7D
RGBrgb(202, 43, 125)
HSLhsl(329, 65%, 48%)
HSVhsv(329, 79%, 79%)
CMYKcmyk(0%, 78.7%, 38.1%, 20.8%)
CIE-LABlab(46.67, 66.19, -7.35)
CIE-LCHlch(46.67, 66.60, 353.66°)
OKLaboklab(56.73% 0.2035 -0.0186)
OKLCHoklch(56.73% 0.204 354.8)
XYZxyz(28.9247, 15.7687, 20.9186)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2B7D #2BCA78
analogous
#C82BCA #CA2B7D #CA2B2D
triadic
#CA2B7D #7DCA2B #2B7DCA
tetradic
#CA2B7D #CAC82B #2BCA78 #2B2DCA
square
#CA2B7D #CAC82B #2BCA78 #2B2DCA
split-complementary
#CA2B7D #2DCA2B #2BCAC8
monochromatic
#65163F #98205E #CA2B7D #DB579B #E689B9

Accessibility & contrast

On white

5.06
#CA2B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#CA2B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2B7D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2B7D#FFFFFF#000000##FFFFFF
##CA2B7D1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7F
Deuteranopia (green-blind)
#797979
Tritanopia (blue-blind)
#DA1351
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2b7d;
/* rgb */ color: rgb(202, 43, 125);
/* oklch */ color: oklch(56.7% 0.204 354.8);
Tailwind
colors: {
  custom: {
    50: '#e075a2',
    500: '#ca2b7d',
    950: '#000000',
  },
}
SCSS
$custom: #ca2b7d;
$custom-light: #e075a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2b7d",
  "rgb": {
    "r": 202,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 329.057,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.20437,
    "h": 354.8
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#CA2B7D
secondary
#81D0A7
accent
#E89140
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CA2B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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