#CA4F8F#CA4F8F

#CA4F8F is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.170 H 351.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CA4F8F
RGBrgb(202, 79, 143)
HSLhsl(329, 54%, 55%)
HSVhsv(329, 61%, 79%)
CMYKcmyk(0%, 60.9%, 29.2%, 20.8%)
CIE-LABlab(51.99, 55.18, -10.23)
CIE-LCHlch(51.99, 56.12, 349.50°)
OKLaboklab(60.84% 0.1676 -0.0265)
OKLCHoklch(60.84% 0.17 351)
XYZxyz(32.1125, 20.1349, 28.1765)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F8F #4FCA8A
analogous
#C74FCA #CA4F8F #CA4F52
triadic
#CA4F8F #8FCA4F #4F8FCA
tetradic
#CA4F8F #CAC74F #4FCA8A #4F52CA
square
#CA4F8F #CAC74F #4FCA8A #4F52CA
split-complementary
#CA4F8F #52CA4F #4FCAC7
monochromatic
#7A2551 #A93370 #CA4F8F #D87EAD #E6ADCB

Accessibility & contrast

On white

4.18
#CA4F8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CA4F8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4F8F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4F8F#FFFFFF#000000##000000
##CA4F8F1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#606E91
Deuteranopia (green-blind)
#82848C
Tritanopia (blue-blind)
#D84969
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca4f8f;
/* rgb */ color: rgb(202, 79, 143);
/* oklch */ color: oklch(60.8% 0.170 351.0);
Tailwind
colors: {
  custom: {
    50: '#de87af',
    500: '#ca4f8f',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f8f;
$custom-light: #de87af;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f8f",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 328.78,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60838,
    "c": 0.16968,
    "h": 351
  },
  "luminance": 0.20132
}

Semantic roles & 50–950 ramp

primary
#CA4F8F
secondary
#A1D4B9
accent
#DD914B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA4F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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