#CA5BAF#CA5BAF

#CA5BAF is a light, vivid pink. Relative luminance 0.231; OKLCH L 63.6% C 0.172 H 337.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#CA5BAF
RGBrgb(202, 91, 175)
HSLhsl(315, 51%, 57%)
HSVhsv(315, 55%, 79%)
CMYKcmyk(0%, 55%, 13.4%, 20.8%)
CIE-LABlab(55.21, 54.26, -24.10)
CIE-LCHlch(55.21, 59.37, 336.05°)
OKLaboklab(63.62% 0.159 -0.065)
OKLCHoklch(63.62% 0.172 337.8)
XYZxyz(35.8365, 23.1366, 43.1275)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BAF #5BCA76
analogous
#AE5BCA #CA5BAF #CA5B77
triadic
#CA5BAF #AFCA5B #5BAFCA
tetradic
#CA5BAF #CAAE5B #5BCA76 #5B77CA
square
#CA5BAF #CAAE5B #5BCA76 #5B77CA
split-complementary
#CA5BAF #77CA5B #5BCAAE
monochromatic
#812A6C #AF3992 #CA5BAF #D989C6 #E8B8DC

Accessibility & contrast

On white

3.73
#CA5BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#CA5BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BAF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BAF#FFFFFF#000000##000000
##CA5BAF1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E79B2
Deuteranopia (green-blind)
#7E8AAC
Tritanopia (blue-blind)
#D45F7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca5baf;
/* rgb */ color: rgb(202, 91, 175);
/* oklch */ color: oklch(63.6% 0.172 337.8);
Tailwind
colors: {
  custom: {
    50: '#dd8ec7',
    500: '#ca5baf',
    950: '#000000',
  },
}
SCSS
$custom: #ca5baf;
$custom-light: #dd8ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5baf",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 314.595,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63615,
    "c": 0.17178,
    "h": 337.8
  },
  "luminance": 0.23134
}

Semantic roles & 50–950 ramp

primary
#CA5BAF
secondary
#AAD7B5
accent
#DB704D
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CA5BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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