#CA2B7E#CA2B7E

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

Color values

HEX#CA2B7E
RGBrgb(202, 43, 126)
HSLhsl(329, 65%, 48%)
HSVhsv(329, 79%, 79%)
CMYKcmyk(0%, 78.7%, 37.6%, 20.8%)
CIE-LABlab(46.70, 66.29, -7.91)
CIE-LCHlch(46.70, 66.76, 353.19°)
OKLaboklab(56.76% 0.2038 -0.0201)
OKLCHoklch(56.76% 0.205 354.4)
XYZxyz(28.9889, 15.7943, 21.2567)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2B7E #2BCA77
analogous
#C62BCA #CA2B7E #CA2B2F
triadic
#CA2B7E #7ECA2B #2B7ECA
tetradic
#CA2B7E #CAC62B #2BCA77 #2B2FCA
square
#CA2B7E #CAC62B #2BCA77 #2B2FCA
split-complementary
#CA2B7E #2FCA2B #2BCAC6
monochromatic
#65163F #98205F #CA2B7E #DB579C #E689BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA2B7E#FFFFFF#000000##FFFFFF
##CA2B7E1.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)
#4C5C80
Deuteranopia (green-blind)
#79797A
Tritanopia (blue-blind)
#DA1451
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2b7e;
/* rgb */ color: rgb(202, 43, 126);
/* oklch */ color: oklch(56.8% 0.205 354.4);
Tailwind
colors: {
  custom: {
    50: '#e075a3',
    500: '#ca2b7e',
    950: '#000000',
  },
}
SCSS
$custom: #ca2b7e;
$custom-light: #e075a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2b7e",
  "rgb": {
    "r": 202,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 328.679,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56761,
    "c": 0.20479,
    "h": 354.4
  },
  "luminance": 0.15791
}

Semantic roles & 50–950 ramp

primary
#CA2B7E
secondary
#81D0A7
accent
#E89040
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA2B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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