#CA2A6D#CA2A6D

#CA2A6D is a mid, vivid pink. Relative luminance 0.153; OKLCH L 56.1% C 0.200 H 1.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CA2A6D
RGBrgb(202, 42, 109)
HSLhsl(335, 66%, 48%)
HSVhsv(335, 79%, 79%)
CMYKcmyk(0%, 79.2%, 46%, 20.8%)
CIE-LABlab(46.07, 64.94, 1.59)
CIE-LCHlch(46.07, 64.96, 1.40°)
OKLaboklab(56.12% 0.1995 0.0048)
OKLCHoklch(56.12% 0.2 1.4)
XYZxyz(27.9477, 15.3204, 15.9505)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2A6D #2ACA87
analogous
#CA2ABD #CA2A6D #CA372A
triadic
#CA2A6D #6DCA2A #2A6DCA
tetradic
#CA2A6D #BDCA2A #2ACA87 #372ACA
square
#CA2A6D #BDCA2A #2ACA87 #372ACA
split-complementary
#CA2A6D #2ACA37 #2ABDCA
monochromatic
#651536 #971F52 #CA2A6D #DC558E #E688B0

Accessibility & contrast

On white

5.17
#CA2A6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#CA2A6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2A6D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2A6D#FFFFFF#000000##FFFFFF
##CA2A6D1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51596F
Deuteranopia (green-blind)
#7C7869
Tritanopia (blue-blind)
#DC0048
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ca2a6d;
/* rgb */ color: rgb(202, 42, 109);
/* oklch */ color: oklch(56.1% 0.200 1.4);
Tailwind
colors: {
  custom: {
    50: '#e07496',
    500: '#ca2a6d',
    950: '#000000',
  },
}
SCSS
$custom: #ca2a6d;
$custom-light: #e07496;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2a6d",
  "rgb": {
    "r": 202,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 334.875,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56122,
    "c": 0.19952,
    "h": 1.4
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

primary
#CA2A6D
secondary
#80D0AE
accent
#E9A23F
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #CA2A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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