#CA5B98#CA5B98

#CA5B98 is a light, vivid pink. Relative luminance 0.223; OKLCH L 62.7% C 0.156 H 348.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CA5B98
RGBrgb(202, 91, 152)
HSLhsl(327, 51%, 57%)
HSVhsv(327, 55%, 79%)
CMYKcmyk(0%, 55%, 24.8%, 20.8%)
CIE-LABlab(54.35, 50.88, -11.99)
CIE-LCHlch(54.35, 52.27, 346.74°)
OKLaboklab(62.7% 0.1533 -0.0314)
OKLCHoklch(62.7% 0.156 348.4)
XYZxyz(33.7668, 22.3087, 32.2273)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5B98 #5BCA8D
analogous
#C45BCA #CA5B98 #CA5B61
triadic
#CA5B98 #98CA5B #5B98CA
tetradic
#CA5B98 #CAC45B #5BCA8D #5B61CA
square
#CA5B98 #CAC45B #5BCA8D #5B61CA
split-complementary
#CA5B98 #61CA5B #5BCAC4
monochromatic
#812A5A #AF397A #CA5B98 #D989B5 #E8B8D2

Accessibility & contrast

On white

3.85
#CA5B98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#CA5B98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5B98
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5B98#FFFFFF#000000##000000
##CA5B981.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#67769A
Deuteranopia (green-blind)
#858995
Tritanopia (blue-blind)
#D75873
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca5b98;
/* rgb */ color: rgb(202, 91, 152);
/* oklch */ color: oklch(62.7% 0.156 348.4);
Tailwind
colors: {
  custom: {
    50: '#dd8eb6',
    500: '#ca5b98',
    950: '#000000',
  },
}
SCSS
$custom: #ca5b98;
$custom-light: #dd8eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5b98",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 152
  },
  "hsl": {
    "h": 327.027,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62695,
    "c": 0.15648,
    "h": 348.4
  },
  "luminance": 0.22306
}

Semantic roles & 50–950 ramp

primary
#CA5B98
secondary
#AAD7BE
accent
#DB8D4D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150D11
muted
#837D80

Preview Lab

Preview with #CA5B98

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

Preview Lab → · Contrast checker → · Palette generator →

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