#CA2C7F#CA2C7F

#CA2C7F is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 56.9% C 0.204 H 354.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CA2C7F
RGBrgb(202, 44, 127)
HSLhsl(328, 64%, 48%)
HSVhsv(328, 78%, 79%)
CMYKcmyk(0%, 78.2%, 37.1%, 20.8%)
CIE-LABlab(46.84, 66.12, -8.33)
CIE-LCHlch(46.84, 66.64, 352.82°)
OKLaboklab(56.87% 0.2032 -0.0212)
OKLCHoklch(56.87% 0.204 354)
XYZxyz(29.0905, 15.8939, 21.6105)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2C7F #2CCA77
analogous
#C62CCA #CA2C7F #CA2C30
triadic
#CA2C7F #7FCA2C #2C7FCA
tetradic
#CA2C7F #CAC62C #2CCA77 #2C30CA
square
#CA2C7F #CAC62C #2CCA77 #2C30CA
split-complementary
#CA2C7F #30CA2C #2CCAC6
monochromatic
#651640 #98215F #CA2C7F #DB589D #E68BBB

Accessibility & contrast

On white

5.03
#CA2C7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#CA2C7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2C7F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2C7F#FFFFFF#000000##FFFFFF
##CA2C7F1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5D81
Deuteranopia (green-blind)
#79797B
Tritanopia (blue-blind)
#DA1752
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2c7f;
/* rgb */ color: rgb(202, 44, 127);
/* oklch */ color: oklch(56.9% 0.204 354.0);
Tailwind
colors: {
  custom: {
    50: '#df76a4',
    500: '#ca2c7f',
    950: '#000000',
  },
}
SCSS
$custom: #ca2c7f;
$custom-light: #df76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2c7f",
  "rgb": {
    "r": 202,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 328.481,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56868,
    "c": 0.2043,
    "h": 354
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

primary
#CA2C7F
secondary
#82D0A7
accent
#E79041
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA2C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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