#CA2C7B#CA2C7B

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

Color values

HEX#CA2C7B
RGBrgb(202, 44, 123)
HSLhsl(330, 64%, 48%)
HSVhsv(330, 78%, 79%)
CMYKcmyk(0%, 78.2%, 39.1%, 20.8%)
CIE-LABlab(46.70, 65.71, -6.09)
CIE-LCHlch(46.70, 65.99, 354.71°)
OKLaboklab(56.73% 0.2021 -0.0152)
OKLCHoklch(56.73% 0.203 355.7)
XYZxyz(28.8350, 15.7917, 20.2647)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2C7B #2CCA7B
analogous
#CA2CCA #CA2C7B #CA2C2C
triadic
#CA2C7B #7BCA2C #2C7BCA
tetradic
#CA2C7B #CACA2C #2CCA7B #2C2CCA
square
#CA2C7B #CACA2C #2CCA7B #2C2CCA
split-complementary
#CA2C7B #2CCA2C #2CCACA
monochromatic
#65163E #98215C #CA2C7B #DB589A #E68BB8

Accessibility & contrast

On white

5.05
#CA2C7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA2C7B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2C7B#FFFFFF#000000##FFFFFF
##CA2C7B1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7D
Deuteranopia (green-blind)
#7A7977
Tritanopia (blue-blind)
#DA1350
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2c7b;
/* rgb */ color: rgb(202, 44, 123);
/* oklch */ color: oklch(56.7% 0.203 355.7);
Tailwind
colors: {
  custom: {
    50: '#e076a1',
    500: '#ca2c7b',
    950: '#000000',
  },
}
SCSS
$custom: #ca2c7b;
$custom-light: #e076a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2c7b",
  "rgb": {
    "r": 202,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 330,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.20264,
    "h": 355.7
  },
  "luminance": 0.15788
}

Semantic roles & 50–950 ramp

primary
#CA2C7B
secondary
#82D0A9
accent
#E79441
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA2C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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