#C05797#C05797

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

Color values

HEX#C05797
RGBrgb(192, 87, 151)
HSLhsl(323, 45%, 55%)
HSVhsv(323, 55%, 75%)
CMYKcmyk(0%, 54.7%, 21.4%, 24.7%)
CIE-LABlab(52.13, 49.52, -14.90)
CIE-LCHlch(52.13, 51.71, 343.25°)
OKLaboklab(60.73% 0.1482 -0.0394)
OKLCHoklch(60.73% 0.153 345.1)
XYZxyz(30.7331, 20.2598, 31.5641)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C05797 #57C080
analogous
#B557C0 #C05797 #C05762
triadic
#C05797 #97C057 #5797C0
tetradic
#C05797 #C0B557 #57C080 #5762C0
square
#C05797 #C0B557 #57C080 #5762C0
split-complementary
#C05797 #62C057 #57C0B5
monochromatic
#722B56 #9E3B78 #C05797 #D184B3 #E1B0CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C05797#FFFFFF#000000##000000
##C057971.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)
#607199
Deuteranopia (green-blind)
#7D8394
Tritanopia (blue-blind)
#CB5670
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c05797;
/* rgb */ color: rgb(192, 87, 151);
/* oklch */ color: oklch(60.7% 0.153 345.1);
Tailwind
colors: {
  custom: {
    50: '#d68bb5',
    500: '#c05797',
    950: '#000000',
  },
}
SCSS
$custom: #c05797;
$custom-light: #d68bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#c05797",
  "rgb": {
    "r": 192,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 323.429,
    "s": 45.455,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60734,
    "c": 0.15336,
    "h": 345.1
  },
  "luminance": 0.20257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C05797

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

Preview Lab → · Contrast checker → · Palette generator →

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