#C05796#C05796

#C05796 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.7% C 0.153 H 345.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C05796
RGBrgb(192, 87, 150)
HSLhsl(324, 45%, 55%)
HSVhsv(324, 55%, 75%)
CMYKcmyk(0%, 54.7%, 21.9%, 24.7%)
CIE-LABlab(52.09, 49.38, -14.36)
CIE-LCHlch(52.09, 51.42, 343.78°)
OKLaboklab(60.7% 0.1479 -0.038)
OKLCHoklch(60.7% 0.153 345.6)
XYZxyz(30.6523, 20.2275, 31.1382)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C05796 #57C081
analogous
#B657C0 #C05796 #C05761
triadic
#C05796 #96C057 #5796C0
tetradic
#C05796 #C0B657 #57C081 #5761C0
square
#C05796 #C0B657 #57C081 #5761C0
split-complementary
#C05796 #61C057 #57C0B6
monochromatic
#722B55 #9E3B77 #C05796 #D184B2 #E1B0CE

Accessibility & contrast

On white

4.16
#C05796 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C05796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C05796
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C05796#FFFFFF#000000##000000
##C057961.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#607198
Deuteranopia (green-blind)
#7D8393
Tritanopia (blue-blind)
#CB5670
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c05796;
/* rgb */ color: rgb(192, 87, 150);
/* oklch */ color: oklch(60.7% 0.153 345.6);
Tailwind
colors: {
  custom: {
    50: '#d68bb5',
    500: '#c05796',
    950: '#000000',
  },
}
SCSS
$custom: #c05796;
$custom-light: #d68bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#c05796",
  "rgb": {
    "r": 192,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 324,
    "s": 45.455,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60695,
    "c": 0.15273,
    "h": 345.6
  },
  "luminance": 0.20225
}

Semantic roles & 50–950 ramp

primary
#C05796
secondary
#A3D0B5
accent
#D58753
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C11
muted
#837D80

Preview Lab

Preview with #C05796

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

Preview Lab → · Contrast checker → · Palette generator →

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