#CA5FB7#CA5FB7

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

Color values

HEX#CA5FB7
RGBrgb(202, 95, 183)
HSLhsl(311, 50%, 58%)
HSVhsv(311, 53%, 79%)
CMYKcmyk(0%, 53%, 9.4%, 20.8%)
CIE-LABlab(56.25, 53.65, -27.12)
CIE-LCHlch(56.25, 60.12, 333.18°)
OKLaboklab(64.49% 0.1551 -0.0736)
OKLCHoklch(64.49% 0.172 334.6)
XYZxyz(36.9967, 24.1624, 47.5058)
Luminance0.2416 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FB7 #5FCA72
analogous
#A75FCA #CA5FB7 #CA5F81
triadic
#CA5FB7 #B7CA5F #5FB7CA
tetradic
#CA5FB7 #CAA75F #5FCA72 #5F81CA
square
#CA5FB7 #CAA75F #5FCA72 #5F81CA
split-complementary
#CA5FB7 #81CA5F #5FCAA7
monochromatic
#832B74 #B13B9C #CA5FB7 #D98DCC #E8BBE0

Accessibility & contrast

On white

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

On black

5.83
#CA5FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FB7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FB7#FFFFFF#000000##000000
##CA5FB71.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7DBA
Deuteranopia (green-blind)
#7E8DB4
Tritanopia (blue-blind)
#D36583
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5fb7;
/* rgb */ color: rgb(202, 95, 183);
/* oklch */ color: oklch(64.5% 0.172 334.6);
Tailwind
colors: {
  custom: {
    50: '#dc91cd',
    500: '#ca5fb7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fb7;
$custom-light: #dc91cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fb7",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 183
  },
  "hsl": {
    "h": 310.654,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6449,
    "c": 0.17165,
    "h": 334.6
  },
  "luminance": 0.2416
}

Semantic roles & 50–950 ramp

primary
#CA5FB7
secondary
#ADD8B5
accent
#DA674E
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CA5FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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