#CA5FB6#CA5FB6

#CA5FB6 is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.4% C 0.171 H 335.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CA5FB6
RGBrgb(202, 95, 182)
HSLhsl(311, 50%, 58%)
HSVhsv(311, 53%, 79%)
CMYKcmyk(0%, 53%, 9.9%, 20.8%)
CIE-LABlab(56.21, 53.49, -26.61)
CIE-LCHlch(56.21, 59.74, 333.55°)
OKLaboklab(64.45% 0.1549 -0.0721)
OKLCHoklch(64.45% 0.171 335)
XYZxyz(36.8930, 24.1210, 46.9596)
Luminance0.2412 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FB6 #5FCA73
analogous
#A85FCA #CA5FB6 #CA5F80
triadic
#CA5FB6 #B6CA5F #5FB6CA
tetradic
#CA5FB6 #CAA85F #5FCA73 #5F80CA
square
#CA5FB6 #CAA85F #5FCA73 #5F80CA
split-complementary
#CA5FB6 #80CA5F #5FCAA8
monochromatic
#832B73 #B13B9B #CA5FB6 #D98DCB #E8BBE0

Accessibility & contrast

On white

3.61
#CA5FB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CA5FB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FB6
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FB6#FFFFFF#000000##000000
##CA5FB61.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7DB9
Deuteranopia (green-blind)
#7E8DB3
Tritanopia (blue-blind)
#D36582
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5fb6;
/* rgb */ color: rgb(202, 95, 182);
/* oklch */ color: oklch(64.4% 0.171 335.0);
Tailwind
colors: {
  custom: {
    50: '#dc91cc',
    500: '#ca5fb6',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fb6;
$custom-light: #dc91cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fb6",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 182
  },
  "hsl": {
    "h": 311.215,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64446,
    "c": 0.17085,
    "h": 335
  },
  "luminance": 0.24118
}

Semantic roles & 50–950 ramp

primary
#CA5FB6
secondary
#ADD8B5
accent
#DA684E
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CA5FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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