#CA5F8E#CA5F8E

#CA5F8E is a light, vivid pink. Relative luminance 0.227; OKLCH L 62.9% C 0.145 H 354.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CA5F8E
RGBrgb(202, 95, 142)
HSLhsl(334, 50%, 58%)
HSVhsv(334, 53%, 79%)
CMYKcmyk(0%, 53%, 29.7%, 20.8%)
CIE-LABlab(54.76, 47.60, -5.50)
CIE-LCHlch(54.76, 47.92, 353.40°)
OKLaboklab(62.89% 0.1443 -0.0139)
OKLCHoklch(62.89% 0.145 354.5)
XYZxyz(33.3332, 22.6971, 28.2114)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5F8E #5FCA9B
analogous
#CA5FC3 #CA5F8E #CA655F
triadic
#CA5F8E #8ECA5F #5F8ECA
tetradic
#CA5F8E #C3CA5F #5FCA9B #655FCA
square
#CA5F8E #C3CA5F #5FCA9B #655FCA
split-complementary
#CA5F8E #5FCA65 #5FC3CA
monochromatic
#832B52 #B13B6F #CA5F8E #D98DAE #E8BBCF

Accessibility & contrast

On white

3.79
#CA5F8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CA5F8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5F8E
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5F8E#FFFFFF#000000##000000
##CA5F8E1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E778F
Deuteranopia (green-blind)
#8A8A8B
Tritanopia (blue-blind)
#D85971
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca5f8e;
/* rgb */ color: rgb(202, 95, 142);
/* oklch */ color: oklch(62.9% 0.145 354.5);
Tailwind
colors: {
  custom: {
    50: '#dd90af',
    500: '#ca5f8e',
    950: '#000000',
  },
}
SCSS
$custom: #ca5f8e;
$custom-light: #dd90af;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5f8e",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 142
  },
  "hsl": {
    "h": 333.645,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6289,
    "c": 0.14501,
    "h": 354.5
  },
  "luminance": 0.22694
}

Semantic roles & 50–950 ramp

primary
#CA5F8E
secondary
#ADD8C5
accent
#DA9C4E
background
#FDF9FA
surface
#FBF1F4
border
#D4CBCE
text
#150D10
muted
#837E7F

Preview Lab

Preview with #CA5F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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