#CA5CB2#CA5CB2

#CA5CB2 is a light, vivid pink. Relative luminance 0.234; OKLCH L 63.9% C 0.172 H 336.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#CA5CB2
RGBrgb(202, 92, 178)
HSLhsl(313, 51%, 58%)
HSVhsv(313, 54%, 79%)
CMYKcmyk(0%, 54.5%, 11.9%, 20.8%)
CIE-LABlab(55.51, 54.27, -25.38)
CIE-LCHlch(55.51, 59.91, 334.94°)
OKLaboklab(63.88% 0.1583 -0.0686)
OKLCHoklch(63.88% 0.172 336.6)
XYZxyz(36.2204, 23.4279, 44.7252)
Luminance0.2343 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5CB2 #5CCA74
analogous
#AB5CCA #CA5CB2 #CA5C7B
triadic
#CA5CB2 #B2CA5C #5CB2CA
tetradic
#CA5CB2 #CAAB5C #5CCA74 #5C7BCA
square
#CA5CB2 #CAAB5C #5CCA74 #5C7BCA
split-complementary
#CA5CB2 #7BCA5C #5CCAAB
monochromatic
#812A6E #B03996 #CA5CB2 #D98AC8 #E8B8DE

Accessibility & contrast

On white

3.69
#CA5CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#CA5CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5CB2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5CB2#FFFFFF#000000##000000
##CA5CB21.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB5
Deuteranopia (green-blind)
#7E8BAF
Tritanopia (blue-blind)
#D3617F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca5cb2;
/* rgb */ color: rgb(202, 92, 178);
/* oklch */ color: oklch(63.9% 0.172 336.6);
Tailwind
colors: {
  custom: {
    50: '#dd8fc9',
    500: '#ca5cb2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5cb2;
$custom-light: #dd8fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5cb2",
  "rgb": {
    "r": 202,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 313.091,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63875,
    "c": 0.17248,
    "h": 336.6
  },
  "luminance": 0.23425
}

Semantic roles & 50–950 ramp

primary
#CA5CB2
secondary
#ABD7B4
accent
#DA6C4D
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CA5CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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