#CA4E8F#CA4E8F

#CA4E8F is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.171 H 350.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CA4E8F
RGBrgb(202, 78, 143)
HSLhsl(329, 54%, 55%)
HSVhsv(329, 61%, 79%)
CMYKcmyk(0%, 61.4%, 29.2%, 20.8%)
CIE-LABlab(51.83, 55.62, -10.47)
CIE-LCHlch(51.83, 56.60, 349.34°)
OKLaboklab(60.72% 0.169 -0.0272)
OKLCHoklch(60.72% 0.171 350.9)
XYZxyz(32.0409, 19.9918, 28.1527)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4E8F #4ECA89
analogous
#C74ECA #CA4E8F #CA4E51
triadic
#CA4E8F #8FCA4E #4E8FCA
tetradic
#CA4E8F #CAC74E #4ECA89 #4E51CA
square
#CA4E8F #CAC74E #4ECA89 #4E51CA
split-complementary
#CA4E8F #51CA4E #4ECAC7
monochromatic
#792451 #A83270 #CA4E8F #D87DAD #E6ACCB

Accessibility & contrast

On white

4.20
#CA4E8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CA4E8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4E8F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4E8F#FFFFFF#000000##000000
##CA4E8F1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6E91
Deuteranopia (green-blind)
#81848C
Tritanopia (blue-blind)
#D84868
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca4e8f;
/* rgb */ color: rgb(202, 78, 143);
/* oklch */ color: oklch(60.7% 0.171 350.9);
Tailwind
colors: {
  custom: {
    50: '#de86af',
    500: '#ca4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #ca4e8f;
$custom-light: #de86af;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4e8f",
  "rgb": {
    "r": 202,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 328.548,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60718,
    "c": 0.17112,
    "h": 350.9
  },
  "luminance": 0.19989
}

Semantic roles & 50–950 ramp

primary
#CA4E8F
secondary
#A0D4B9
accent
#DD904B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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