#CA5796#CA5796

#CA5796 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.1% C 0.162 H 348.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CA5796
RGBrgb(202, 87, 150)
HSLhsl(327, 52%, 57%)
HSVhsv(327, 57%, 79%)
CMYKcmyk(0%, 56.9%, 25.7%, 20.8%)
CIE-LABlab(53.58, 52.48, -11.98)
CIE-LCHlch(53.58, 53.83, 347.14°)
OKLaboklab(62.09% 0.1585 -0.0313)
OKLCHoklch(62.09% 0.162 348.8)
XYZxyz(33.2715, 21.5780, 31.2610)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5796 #57CA8B
analogous
#C457CA #CA5796 #CA575D
triadic
#CA5796 #96CA57 #5796CA
tetradic
#CA5796 #CAC457 #57CA8B #575DCA
square
#CA5796 #CAC457 #57CA8B #575DCA
split-complementary
#CA5796 #5DCA57 #57CAC4
monochromatic
#7F2857 #AD3778 #CA5796 #D986B3 #E7B4D0

Accessibility & contrast

On white

3.95
#CA5796 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CA5796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5796
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5796#FFFFFF#000000##000000
##CA57961.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#647398
Deuteranopia (green-blind)
#848793
Tritanopia (blue-blind)
#D75370
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca5796;
/* rgb */ color: rgb(202, 87, 150);
/* oklch */ color: oklch(62.1% 0.162 348.8);
Tailwind
colors: {
  custom: {
    50: '#dd8bb4',
    500: '#ca5796',
    950: '#000000',
  },
}
SCSS
$custom: #ca5796;
$custom-light: #dd8bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5796",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 327.13,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62094,
    "c": 0.16154,
    "h": 348.8
  },
  "luminance": 0.21575
}

Semantic roles & 50–950 ramp

primary
#CA5796
secondary
#A7D6BC
accent
#DB8D4C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#150C11
muted
#847D80

Preview Lab

Preview with #CA5796

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

Preview Lab → · Contrast checker → · Palette generator →

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