#CA2B7A#CA2B7A

#CA2B7A is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.6% C 0.203 H 356.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CA2B7A
RGBrgb(202, 43, 122)
HSLhsl(330, 65%, 48%)
HSVhsv(330, 79%, 79%)
CMYKcmyk(0%, 78.7%, 39.6%, 20.8%)
CIE-LABlab(46.57, 65.89, -5.67)
CIE-LCHlch(46.57, 66.13, 355.08°)
OKLaboklab(56.62% 0.2027 -0.0141)
OKLCHoklch(56.62% 0.203 356)
XYZxyz(28.7359, 15.6932, 19.9244)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2B7A #2BCA7B
analogous
#CA2BC9 #CA2B7A #CA2C2B
triadic
#CA2B7A #7ACA2B #2B7ACA
tetradic
#CA2B7A #C9CA2B #2BCA7B #2C2BCA
square
#CA2B7A #C9CA2B #2BCA7B #2C2BCA
split-complementary
#CA2B7A #2BCA2C #2BC9CA
monochromatic
#65163D #98205C #CA2B7A #DB5799 #E689B7

Accessibility & contrast

On white

5.08
#CA2B7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA2B7A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2B7A#FFFFFF#000000##FFFFFF
##CA2B7A1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7C
Deuteranopia (green-blind)
#7A7976
Tritanopia (blue-blind)
#DB0F4F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca2b7a;
/* rgb */ color: rgb(202, 43, 122);
/* oklch */ color: oklch(56.6% 0.203 356.0);
Tailwind
colors: {
  custom: {
    50: '#e075a0',
    500: '#ca2b7a',
    950: '#000000',
  },
}
SCSS
$custom: #ca2b7a;
$custom-light: #e075a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2b7a",
  "rgb": {
    "r": 202,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 330.189,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56619,
    "c": 0.20315,
    "h": 356
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#CA2B7A
secondary
#81D0A9
accent
#E89440
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA2B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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