#CA4D8F#CA4D8F

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

Color values

HEX#CA4D8F
RGBrgb(202, 77, 143)
HSLhsl(328, 54%, 55%)
HSVhsv(328, 62%, 79%)
CMYKcmyk(0%, 61.9%, 29.2%, 20.8%)
CIE-LABlab(51.67, 56.06, -10.71)
CIE-LCHlch(51.67, 57.07, 349.18°)
OKLaboklab(60.6% 0.1703 -0.0278)
OKLCHoklch(60.6% 0.173 350.7)
XYZxyz(31.9704, 19.8507, 28.1292)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4D8F #4DCA88
analogous
#C74DCA #CA4D8F #CA4D50
triadic
#CA4D8F #8FCA4D #4D8FCA
tetradic
#CA4D8F #CAC74D #4DCA88 #4D50CA
square
#CA4D8F #CAC74D #4DCA88 #4D50CA
split-complementary
#CA4D8F #50CA4D #4DCAC7
monochromatic
#792451 #A83270 #CA4D8F #D87CAD #E6ABCA

Accessibility & contrast

On white

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

On black

4.97
#CA4D8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4D8F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4D8F#FFFFFF#000000##000000
##CA4D8F1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D91
Deuteranopia (green-blind)
#81838C
Tritanopia (blue-blind)
#D84768
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca4d8f;
/* rgb */ color: rgb(202, 77, 143);
/* oklch */ color: oklch(60.6% 0.173 350.7);
Tailwind
colors: {
  custom: {
    50: '#de86af',
    500: '#ca4d8f',
    950: '#000000',
  },
}
SCSS
$custom: #ca4d8f;
$custom-light: #de86af;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4d8f",
  "rgb": {
    "r": 202,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 328.32,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.606,
    "c": 0.17254,
    "h": 350.7
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA4D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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