#CA4F82#CA4F82

#CA4F82 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.164 H 357.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CA4F82
RGBrgb(202, 79, 130)
HSLhsl(335, 54%, 55%)
HSVhsv(335, 61%, 79%)
CMYKcmyk(0%, 60.9%, 35.6%, 20.8%)
CIE-LABlab(51.57, 53.61, -3.11)
CIE-LCHlch(51.57, 53.70, 356.68°)
OKLaboklab(60.39% 0.1636 -0.0075)
OKLCHoklch(60.39% 0.164 357.4)
XYZxyz(31.1841, 19.7636, 23.2873)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F82 #4FCA97
analogous
#CA4FC0 #CA4F82 #CA594F
triadic
#CA4F82 #82CA4F #4F82CA
tetradic
#CA4F82 #C0CA4F #4FCA97 #594FCA
square
#CA4F82 #C0CA4F #4FCA97 #594FCA
split-complementary
#CA4F82 #4FCA59 #4FC0CA
monochromatic
#7A2548 #A93364 #CA4F82 #D87EA3 #E6ADC5

Accessibility & contrast

On white

4.24
#CA4F82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CA4F82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4F82
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4F82#FFFFFF#000000##000000
##CA4F821.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#646C83
Deuteranopia (green-blind)
#85837F
Tritanopia (blue-blind)
#D94563
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca4f82;
/* rgb */ color: rgb(202, 79, 130);
/* oklch */ color: oklch(60.4% 0.164 357.4);
Tailwind
colors: {
  custom: {
    50: '#de86a6',
    500: '#ca4f82',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f82;
$custom-light: #de86a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f82",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 335.122,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60388,
    "c": 0.16377,
    "h": 357.4
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#CA4F82
secondary
#A1D4BF
accent
#DDA04B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CA4F82

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

Preview Lab → · Contrast checker → · Palette generator →

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