#CA5FAB#CA5FAB

#CA5FAB is a light, vivid pink. Relative luminance 0.237; OKLCH L 64.0% C 0.163 H 339.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CA5FAB
RGBrgb(202, 95, 171)
HSLhsl(317, 50%, 58%)
HSVhsv(317, 53%, 79%)
CMYKcmyk(0%, 53%, 15.3%, 20.8%)
CIE-LABlab(55.77, 51.74, -20.92)
CIE-LCHlch(55.77, 55.81, 337.98°)
OKLaboklab(63.98% 0.1525 -0.0561)
OKLCHoklch(63.98% 0.163 339.8)
XYZxyz(35.8005, 23.6840, 41.2061)
Luminance0.2368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FAB #5FCA7E
analogous
#B35FCA #CA5FAB #CA5F75
triadic
#CA5FAB #ABCA5F #5FABCA
tetradic
#CA5FAB #CAB35F #5FCA7E #5F75CA
square
#CA5FAB #CAB35F #5FCA7E #5F75CA
split-complementary
#CA5FAB #75CA5F #5FCAB3
monochromatic
#832B6A #B13B8F #CA5FAB #D98DC3 #E8BBDB

Accessibility & contrast

On white

3.66
#CA5FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CA5FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FAB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FAB#FFFFFF#000000##000000
##CA5FAB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#647BAE
Deuteranopia (green-blind)
#828CA8
Tritanopia (blue-blind)
#D4617D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca5fab;
/* rgb */ color: rgb(202, 95, 171);
/* oklch */ color: oklch(64.0% 0.163 339.8);
Tailwind
colors: {
  custom: {
    50: '#dd91c4',
    500: '#ca5fab',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fab;
$custom-light: #dd91c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fab",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 171
  },
  "hsl": {
    "h": 317.383,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63976,
    "c": 0.1625,
    "h": 339.8
  },
  "luminance": 0.23681
}

Semantic roles & 50–950 ramp

primary
#CA5FAB
secondary
#ADD8B9
accent
#DA774E
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D12
muted
#837E81

Preview Lab

Preview with #CA5FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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