#C05798#C05798

#C05798 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.8% C 0.154 H 344.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C05798
RGBrgb(192, 87, 152)
HSLhsl(323, 45%, 55%)
HSVhsv(323, 55%, 75%)
CMYKcmyk(0%, 54.7%, 20.8%, 24.7%)
CIE-LABlab(52.17, 49.67, -15.43)
CIE-LCHlch(52.17, 52.01, 342.74°)
OKLaboklab(60.77% 0.1485 -0.0409)
OKLCHoklch(60.77% 0.154 344.6)
XYZxyz(30.8147, 20.2925, 31.9936)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C05798 #57C07F
analogous
#B457C0 #C05798 #C05764
triadic
#C05798 #98C057 #5798C0
tetradic
#C05798 #C0B457 #57C07F #5764C0
square
#C05798 #C0B457 #57C07F #5764C0
split-complementary
#C05798 #64C057 #57C0B4
monochromatic
#722B57 #9E3B79 #C05798 #D184B3 #E1B0CF

Accessibility & contrast

On white

4.15
#C05798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C05798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C05798
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C05798#FFFFFF#000000##000000
##C057981.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#60719A
Deuteranopia (green-blind)
#7D8395
Tritanopia (blue-blind)
#CB5671
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c05798;
/* rgb */ color: rgb(192, 87, 152);
/* oklch */ color: oklch(60.8% 0.154 344.6);
Tailwind
colors: {
  custom: {
    50: '#d68bb6',
    500: '#c05798',
    950: '#000000',
  },
}
SCSS
$custom: #c05798;
$custom-light: #d68bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#c05798",
  "rgb": {
    "r": 192,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 322.857,
    "s": 45.455,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60773,
    "c": 0.15401,
    "h": 344.6
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#C05798
secondary
#A3D0B4
accent
#D58453
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C11
muted
#837D80

Preview Lab

Preview with #C05798

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

Preview Lab → · Contrast checker → · Palette generator →

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