#CA4D8E#CA4D8E

#CA4D8E is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.6% C 0.172 H 351.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CA4D8E
RGBrgb(202, 77, 142)
HSLhsl(329, 54%, 55%)
HSVhsv(329, 62%, 79%)
CMYKcmyk(0%, 61.9%, 29.7%, 20.8%)
CIE-LABlab(51.63, 55.93, -10.17)
CIE-LCHlch(51.63, 56.85, 349.70°)
OKLaboklab(60.56% 0.17 -0.0263)
OKLCHoklch(60.56% 0.172 351.2)
XYZxyz(31.8949, 19.8206, 27.7320)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4D8E #4DCA89
analogous
#C84DCA #CA4D8E #CA4D4F
triadic
#CA4D8E #8ECA4D #4D8ECA
tetradic
#CA4D8E #CAC84D #4DCA89 #4D4FCA
square
#CA4D8E #CAC84D #4DCA89 #4D4FCA
split-complementary
#CA4D8E #4FCA4D #4DCAC8
monochromatic
#792450 #A8326F #CA4D8E #D87CAC #E6ABCA

Accessibility & contrast

On white

4.23
#CA4D8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CA4D8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4D8E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4D8E#FFFFFF#000000##000000
##CA4D8E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D90
Deuteranopia (green-blind)
#81838B
Tritanopia (blue-blind)
#D84767
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca4d8e;
/* rgb */ color: rgb(202, 77, 142);
/* oklch */ color: oklch(60.6% 0.172 351.2);
Tailwind
colors: {
  custom: {
    50: '#de86af',
    500: '#ca4d8e',
    950: '#000000',
  },
}
SCSS
$custom: #ca4d8e;
$custom-light: #de86af;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4d8e",
  "rgb": {
    "r": 202,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 328.8,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60563,
    "c": 0.17204,
    "h": 351.2
  },
  "luminance": 0.19817
}

Semantic roles & 50–950 ramp

primary
#CA4D8E
secondary
#9FD4B8
accent
#DD914A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA4D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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