#CA4F8D#CA4F8D

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

Color values

HEX#CA4F8D
RGBrgb(202, 79, 141)
HSLhsl(330, 54%, 55%)
HSVhsv(330, 61%, 79%)
CMYKcmyk(0%, 60.9%, 30.2%, 20.8%)
CIE-LABlab(51.92, 54.93, -9.14)
CIE-LCHlch(51.92, 55.69, 350.55°)
OKLaboklab(60.77% 0.167 -0.0236)
OKLCHoklch(60.77% 0.169 352)
XYZxyz(31.9623, 20.0749, 27.3857)
Luminance0.2007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F8D #4FCA8C
analogous
#C94FCA #CA4F8D #CA4F4F
triadic
#CA4F8D #8DCA4F #4F8DCA
tetradic
#CA4F8D #CAC94F #4FCA8C #4F4FCA
square
#CA4F8D #CAC94F #4FCA8C #4F4FCA
split-complementary
#CA4F8D #4FCA4F #4FCAC9
monochromatic
#7A2550 #A9336E #CA4F8D #D87EAB #E6ADCA

Accessibility & contrast

On white

4.19
#CA4F8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CA4F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4F8D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4F8D#FFFFFF#000000##000000
##CA4F8D1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#606E8F
Deuteranopia (green-blind)
#82848A
Tritanopia (blue-blind)
#D84968
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca4f8d;
/* rgb */ color: rgb(202, 79, 141);
/* oklch */ color: oklch(60.8% 0.169 352.0);
Tailwind
colors: {
  custom: {
    50: '#de87ae',
    500: '#ca4f8d',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f8d;
$custom-light: #de87ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f8d",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 329.756,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60766,
    "c": 0.16867,
    "h": 352
  },
  "luminance": 0.20072
}

Semantic roles & 50–950 ramp

primary
#CA4F8D
secondary
#A1D4BA
accent
#DD934B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA4F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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