#CA2151#CA2151

#CA2151 is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 54.8% C 0.201 H 12.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CA2151
RGBrgb(202, 33, 81)
HSLhsl(343, 72%, 46%)
HSVhsv(343, 84%, 79%)
CMYKcmyk(0%, 83.7%, 59.9%, 20.8%)
CIE-LABlab(44.58, 65.07, 16.87)
CIE-LCHlch(44.58, 67.22, 14.53°)
OKLaboklab(54.8% 0.1965 0.0416)
OKLCHoklch(54.8% 0.201 12)
XYZxyz(26.3890, 14.2424, 9.1425)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2151 #21CA9A
analogous
#CA21A5 #CA2151 #CA4621
triadic
#CA2151 #51CA21 #2151CA
tetradic
#CA2151 #A5CA21 #21CA9A #4621CA
square
#CA2151 #A5CA21 #21CA9A #4621CA
split-complementary
#CA2151 #21CA46 #21A5CA
monochromatic
#611027 #95183C #CA2151 #E14773 #EA7C9B

Accessibility & contrast

On white

5.46
#CA2151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#CA2151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2151
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2151#FFFFFF#000000##FFFFFF
##CA21511.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545452
Deuteranopia (green-blind)
#7F764D
Tritanopia (blue-blind)
#DD0037
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ca2151;
/* rgb */ color: rgb(202, 33, 81);
/* oklch */ color: oklch(54.8% 0.201 12.0);
Tailwind
colors: {
  custom: {
    50: '#e27181',
    500: '#ca2151',
    950: '#000000',
  },
}
SCSS
$custom: #ca2151;
$custom-light: #e27181;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2151",
  "rgb": {
    "r": 202,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 342.959,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54797,
    "c": 0.20088,
    "h": 12
  },
  "luminance": 0.14238
}

Semantic roles & 50–950 ramp

primary
#CA2151
secondary
#75D2B7
accent
#EFBB39
background
#FFF7F7
surface
#FEEDEE
border
#D6C8C9
text
#17090A
muted
#857B7C

Preview Lab

Preview with #CA2151

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

Preview Lab → · Contrast checker → · Palette generator →

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