#CA4F8A#CA4F8A

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

Color values

HEX#CA4F8A
RGBrgb(202, 79, 138)
HSLhsl(331, 54%, 55%)
HSVhsv(331, 61%, 79%)
CMYKcmyk(0%, 60.9%, 31.7%, 20.8%)
CIE-LABlab(51.82, 54.56, -7.50)
CIE-LCHlch(51.82, 55.07, 352.17°)
OKLaboklab(60.66% 0.1661 -0.0192)
OKLCHoklch(60.66% 0.167 353.4)
XYZxyz(31.7421, 19.9868, 26.2260)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F8A #4FCA8F
analogous
#CA4FC7 #CA4F8A #CA524F
triadic
#CA4F8A #8ACA4F #4F8ACA
tetradic
#CA4F8A #C7CA4F #4FCA8F #524FCA
square
#CA4F8A #C7CA4F #4FCA8F #524FCA
split-complementary
#CA4F8A #4FCA52 #4FC7CA
monochromatic
#7A254E #A9336B #CA4F8A #D87EA9 #E6ADC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA4F8A#FFFFFF#000000##000000
##CA4F8A1.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)
#616D8C
Deuteranopia (green-blind)
#838487
Tritanopia (blue-blind)
#D84866
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca4f8a;
/* rgb */ color: rgb(202, 79, 138);
/* oklch */ color: oklch(60.7% 0.167 353.4);
Tailwind
colors: {
  custom: {
    50: '#de87ac',
    500: '#ca4f8a',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f8a;
$custom-light: #de87ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f8a",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 331.22,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60659,
    "c": 0.16722,
    "h": 353.4
  },
  "luminance": 0.19983
}

Semantic roles & 50–950 ramp

primary
#CA4F8A
secondary
#A1D4BB
accent
#DD974B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA4F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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