#CA5FB2#CA5FB2

#CA5FB2 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.3% C 0.168 H 336.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CA5FB2
RGBrgb(202, 95, 178)
HSLhsl(313, 50%, 58%)
HSVhsv(313, 53%, 79%)
CMYKcmyk(0%, 53%, 11.9%, 20.8%)
CIE-LABlab(56.05, 52.84, -24.55)
CIE-LCHlch(56.05, 58.27, 335.08°)
OKLaboklab(64.27% 0.1541 -0.0663)
OKLCHoklch(64.27% 0.168 336.7)
XYZxyz(36.4855, 23.9580, 44.8135)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FB2 #5FCA77
analogous
#AC5FCA #CA5FB2 #CA5F7C
triadic
#CA5FB2 #B2CA5F #5FB2CA
tetradic
#CA5FB2 #CAAC5F #5FCA77 #5F7CCA
square
#CA5FB2 #CAAC5F #5FCA77 #5F7CCA
split-complementary
#CA5FB2 #7CCA5F #5FCAAC
monochromatic
#832B6F #B13B97 #CA5FB2 #D98DC8 #E8BBDE

Accessibility & contrast

On white

3.63
#CA5FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CA5FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FB2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FB2#FFFFFF#000000##000000
##CA5FB21.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB5
Deuteranopia (green-blind)
#7F8CAF
Tritanopia (blue-blind)
#D36380
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca5fb2;
/* rgb */ color: rgb(202, 95, 178);
/* oklch */ color: oklch(64.3% 0.168 336.7);
Tailwind
colors: {
  custom: {
    50: '#dc91c9',
    500: '#ca5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fb2;
$custom-light: #dc91c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fb2",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 313.458,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64271,
    "c": 0.16772,
    "h": 336.7
  },
  "luminance": 0.23955
}

Semantic roles & 50–950 ramp

primary
#CA5FB2
secondary
#ADD8B7
accent
#DA6D4E
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CA5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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