#CA2B7B#CA2B7B

#CA2B7B is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.7% C 0.204 H 355.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CA2B7B
RGBrgb(202, 43, 123)
HSLhsl(330, 65%, 48%)
HSVhsv(330, 79%, 79%)
CMYKcmyk(0%, 78.7%, 39.1%, 20.8%)
CIE-LABlab(46.60, 65.99, -6.23)
CIE-LCHlch(46.60, 66.28, 354.61°)
OKLaboklab(56.65% 0.203 -0.0156)
OKLCHoklch(56.65% 0.204 355.6)
XYZxyz(28.7982, 15.7181, 20.2524)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2B7B #2BCA7A
analogous
#C92BCA #CA2B7B #CA2B2C
triadic
#CA2B7B #7BCA2B #2B7BCA
tetradic
#CA2B7B #CAC92B #2BCA7A #2B2CCA
square
#CA2B7B #CAC92B #2BCA7A #2B2CCA
split-complementary
#CA2B7B #2CCA2B #2BCAC9
monochromatic
#65163E #98205C #CA2B7B #DB579A #E689B8

Accessibility & contrast

On white

5.07
#CA2B7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#CA2B7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2B7B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2B7B#FFFFFF#000000##FFFFFF
##CA2B7B1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7D
Deuteranopia (green-blind)
#797977
Tritanopia (blue-blind)
#DA1150
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca2b7b;
/* rgb */ color: rgb(202, 43, 123);
/* oklch */ color: oklch(56.7% 0.204 355.6);
Tailwind
colors: {
  custom: {
    50: '#e075a1',
    500: '#ca2b7b',
    950: '#000000',
  },
}
SCSS
$custom: #ca2b7b;
$custom-light: #e075a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2b7b",
  "rgb": {
    "r": 202,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 329.811,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56654,
    "c": 0.20355,
    "h": 355.6
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#CA2B7B
secondary
#81D0A8
accent
#E89340
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA2B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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