#CA5F8A#CA5F8A

#CA5F8A is a light, vivid pink. Relative luminance 0.226; OKLCH L 62.8% C 0.143 H 356.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CA5F8A
RGBrgb(202, 95, 138)
HSLhsl(336, 50%, 58%)
HSVhsv(336, 53%, 79%)
CMYKcmyk(0%, 53%, 31.7%, 20.8%)
CIE-LABlab(54.64, 47.09, -3.33)
CIE-LCHlch(54.64, 47.21, 355.95°)
OKLaboklab(62.76% 0.143 -0.0081)
OKLCHoklch(62.76% 0.143 356.7)
XYZxyz(33.0382, 22.5791, 26.6581)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5F8A #5FCA9F
analogous
#CA5FBF #CA5F8A #CA695F
triadic
#CA5F8A #8ACA5F #5F8ACA
tetradic
#CA5F8A #BFCA5F #5FCA9F #695FCA
square
#CA5F8A #BFCA5F #5FCA9F #695FCA
split-complementary
#CA5F8A #5FCA69 #5FBFCA
monochromatic
#832B4F #B13B6A #CA5F8A #D98DAC #E8BBCD

Accessibility & contrast

On white

3.81
#CA5F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CA5F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5F8A
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5F8A#FFFFFF#000000##000000
##CA5F8A1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F778B
Deuteranopia (green-blind)
#8B8A87
Tritanopia (blue-blind)
#D8586F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca5f8a;
/* rgb */ color: rgb(202, 95, 138);
/* oklch */ color: oklch(62.8% 0.143 356.7);
Tailwind
colors: {
  custom: {
    50: '#dd90ac',
    500: '#ca5f8a',
    950: '#000000',
  },
}
SCSS
$custom: #ca5f8a;
$custom-light: #dd90ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5f8a",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 335.888,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62758,
    "c": 0.14325,
    "h": 356.7
  },
  "luminance": 0.22576
}

Semantic roles & 50–950 ramp

primary
#CA5F8A
secondary
#ADD8C7
accent
#DAA24E
background
#FDF9FA
surface
#FBF1F4
border
#D4CBCE
text
#150D10
muted
#837E7F

Preview Lab

Preview with #CA5F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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