#CA2C7A#CA2C7A

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

Color values

HEX#CA2C7A
RGBrgb(202, 44, 122)
HSLhsl(330, 64%, 48%)
HSVhsv(330, 78%, 79%)
CMYKcmyk(0%, 78.2%, 39.6%, 20.8%)
CIE-LABlab(46.67, 65.61, -5.52)
CIE-LCHlch(46.67, 65.84, 355.19°)
OKLaboklab(56.69% 0.2018 -0.0137)
OKLCHoklch(56.69% 0.202 356.1)
XYZxyz(28.7727, 15.7668, 19.9367)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2C7A #2CCA7C
analogous
#CA2CC9 #CA2C7A #CA2D2C
triadic
#CA2C7A #7ACA2C #2C7ACA
tetradic
#CA2C7A #C9CA2C #2CCA7C #2D2CCA
square
#CA2C7A #C9CA2C #2CCA7C #2D2CCA
split-complementary
#CA2C7A #2CCA2D #2CC9CA
monochromatic
#65163D #98215C #CA2C7A #DB5899 #E68BB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA2C7A#FFFFFF#000000##FFFFFF
##CA2C7A1.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)
#4E5C7C
Deuteranopia (green-blind)
#7A7976
Tritanopia (blue-blind)
#DB1250
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2c7a;
/* rgb */ color: rgb(202, 44, 122);
/* oklch */ color: oklch(56.7% 0.202 356.1);
Tailwind
colors: {
  custom: {
    50: '#e076a0',
    500: '#ca2c7a',
    950: '#000000',
  },
}
SCSS
$custom: #ca2c7a;
$custom-light: #e076a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2c7a",
  "rgb": {
    "r": 202,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 330.38,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5669,
    "c": 0.20225,
    "h": 356.1
  },
  "luminance": 0.15763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA2C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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