#CA2B7C#CA2B7C

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

Color values

HEX#CA2B7C
RGBrgb(202, 43, 124)
HSLhsl(329, 65%, 48%)
HSVhsv(329, 79%, 79%)
CMYKcmyk(0%, 78.7%, 38.6%, 20.8%)
CIE-LABlab(46.64, 66.09, -6.79)
CIE-LCHlch(46.64, 66.44, 354.13°)
OKLaboklab(56.69% 0.2032 -0.0171)
OKLCHoklch(56.69% 0.204 355.2)
XYZxyz(28.8611, 15.7432, 20.5838)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2B7C #2BCA79
analogous
#C82BCA #CA2B7C #CA2B2C
triadic
#CA2B7C #7CCA2B #2B7CCA
tetradic
#CA2B7C #CAC82B #2BCA79 #2B2CCA
square
#CA2B7C #CAC82B #2BCA79 #2B2CCA
split-complementary
#CA2B7C #2CCA2B #2BCAC8
monochromatic
#65163E #98205D #CA2B7C #DB579A #E689B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA2B7C#FFFFFF#000000##FFFFFF
##CA2B7C1.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)
#4D5C7E
Deuteranopia (green-blind)
#797978
Tritanopia (blue-blind)
#DA1250
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca2b7c;
/* rgb */ color: rgb(202, 43, 124);
/* oklch */ color: oklch(56.7% 0.204 355.2);
Tailwind
colors: {
  custom: {
    50: '#e075a1',
    500: '#ca2b7c',
    950: '#000000',
  },
}
SCSS
$custom: #ca2b7c;
$custom-light: #e075a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2b7c",
  "rgb": {
    "r": 202,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 329.434,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56689,
    "c": 0.20396,
    "h": 355.2
  },
  "luminance": 0.1574
}

Semantic roles & 50–950 ramp

primary
#CA2B7C
secondary
#81D0A8
accent
#E89240
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CA2B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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