#CA2C7C#CA2C7C

#CA2C7C is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.8% C 0.203 H 355.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CA2C7C
RGBrgb(202, 44, 124)
HSLhsl(330, 64%, 48%)
HSVhsv(330, 78%, 79%)
CMYKcmyk(0%, 78.2%, 38.6%, 20.8%)
CIE-LABlab(46.73, 65.81, -6.65)
CIE-LCHlch(46.73, 66.14, 354.23°)
OKLaboklab(56.76% 0.2024 -0.0167)
OKLCHoklch(56.76% 0.203 355.3)
XYZxyz(28.8979, 15.8168, 20.5961)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2C7C #2CCA7A
analogous
#C92CCA #CA2C7C #CA2C2D
triadic
#CA2C7C #7CCA2C #2C7CCA
tetradic
#CA2C7C #CAC92C #2CCA7A #2C2DCA
square
#CA2C7C #CAC92C #2CCA7A #2C2DCA
split-complementary
#CA2C7C #2DCA2C #2CCAC9
monochromatic
#65163E #98215D #CA2C7C #DB589A #E68BB9

Accessibility & contrast

On white

5.04
#CA2C7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#CA2C7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2C7C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2C7C#FFFFFF#000000##FFFFFF
##CA2C7C1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7E
Deuteranopia (green-blind)
#797978
Tritanopia (blue-blind)
#DA1451
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2c7c;
/* rgb */ color: rgb(202, 44, 124);
/* oklch */ color: oklch(56.8% 0.203 355.3);
Tailwind
colors: {
  custom: {
    50: '#e076a1',
    500: '#ca2c7c',
    950: '#000000',
  },
}
SCSS
$custom: #ca2c7c;
$custom-light: #e076a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2c7c",
  "rgb": {
    "r": 202,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 329.62,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5676,
    "c": 0.20305,
    "h": 355.3
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#CA2C7C
secondary
#82D0A8
accent
#E79341
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CA2C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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