#CA5FB8#CA5FB8

#CA5FB8 is a light, vivid pink. Relative luminance 0.242; OKLCH L 64.5% C 0.172 H 334.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CA5FB8
RGBrgb(202, 95, 184)
HSLhsl(310, 50%, 58%)
HSVhsv(310, 53%, 79%)
CMYKcmyk(0%, 53%, 8.9%, 20.8%)
CIE-LABlab(56.29, 53.81, -27.63)
CIE-LCHlch(56.29, 60.49, 332.82°)
OKLaboklab(64.53% 0.1553 -0.075)
OKLCHoklch(64.53% 0.172 334.2)
XYZxyz(37.1011, 24.2042, 48.0559)
Luminance0.2420 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FB8 #5FCA71
analogous
#A65FCA #CA5FB8 #CA5F82
triadic
#CA5FB8 #B8CA5F #5FB8CA
tetradic
#CA5FB8 #CAA65F #5FCA71 #5F82CA
square
#CA5FB8 #CAA65F #5FCA71 #5F82CA
split-complementary
#CA5FB8 #82CA5F #5FCAA6
monochromatic
#832B74 #B13B9D #CA5FB8 #D98DCC #E8BBE1

Accessibility & contrast

On white

3.60
#CA5FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CA5FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FB8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FB8#FFFFFF#000000##000000
##CA5FB81.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7DBB
Deuteranopia (green-blind)
#7D8DB5
Tritanopia (blue-blind)
#D26583
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5fb8;
/* rgb */ color: rgb(202, 95, 184);
/* oklch */ color: oklch(64.5% 0.172 334.2);
Tailwind
colors: {
  custom: {
    50: '#dc91cd',
    500: '#ca5fb8',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fb8;
$custom-light: #dc91cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fb8",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 184
  },
  "hsl": {
    "h": 310.093,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64534,
    "c": 0.17244,
    "h": 334.2
  },
  "luminance": 0.24202
}

Semantic roles & 50–950 ramp

primary
#CA5FB8
secondary
#ADD8B4
accent
#DA664E
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CA5FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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