#CA5BA7#CA5BA7

#CA5BA7 is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.3% C 0.166 H 341.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CA5BA7
RGBrgb(202, 91, 167)
HSLhsl(319, 51%, 57%)
HSVhsv(319, 55%, 79%)
CMYKcmyk(0%, 55%, 17.3%, 20.8%)
CIE-LABlab(54.90, 53.04, -19.93)
CIE-LCHlch(54.90, 56.66, 339.40°)
OKLaboklab(63.28% 0.1572 -0.0533)
OKLCHoklch(63.28% 0.166 341.3)
XYZxyz(35.0739, 22.8316, 39.1114)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BA7 #5BCA7E
analogous
#B65BCA #CA5BA7 #CA5B6F
triadic
#CA5BA7 #A7CA5B #5BA7CA
tetradic
#CA5BA7 #CAB65B #5BCA7E #5B6FCA
square
#CA5BA7 #CAB65B #5BCA7E #5B6FCA
split-complementary
#CA5BA7 #6FCA5B #5BCAB6
monochromatic
#812A65 #AF398A #CA5BA7 #D989C0 #E8B8D9

Accessibility & contrast

On white

3.77
#CA5BA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CA5BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BA7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BA7#FFFFFF#000000##000000
##CA5BA71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6278A9
Deuteranopia (green-blind)
#818AA4
Tritanopia (blue-blind)
#D55C79
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca5ba7;
/* rgb */ color: rgb(202, 91, 167);
/* oklch */ color: oklch(63.3% 0.166 341.3);
Tailwind
colors: {
  custom: {
    50: '#dd8ec1',
    500: '#ca5ba7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ba7;
$custom-light: #dd8ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ba7",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 167
  },
  "hsl": {
    "h": 318.919,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63279,
    "c": 0.16602,
    "h": 341.3
  },
  "luminance": 0.22829
}

Semantic roles & 50–950 ramp

primary
#CA5BA7
secondary
#AAD7B8
accent
#DB7A4D
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CA5BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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