#C0508F#C0508F

#C0508F is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.5% C 0.159 H 348.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C0508F
RGBrgb(192, 80, 143)
HSLhsl(326, 47%, 53%)
HSVhsv(326, 58%, 75%)
CMYKcmyk(0%, 58.3%, 25.5%, 24.7%)
CIE-LABlab(50.60, 51.69, -12.47)
CIE-LCHlch(50.60, 53.17, 346.44°)
OKLaboklab(59.51% 0.156 -0.0327)
OKLCHoklch(59.51% 0.159 348.2)
XYZxyz(29.5659, 18.9297, 28.0780)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0508F #50C081
analogous
#B950C0 #C0508F #C05057
triadic
#C0508F #8FC050 #508FC0
tetradic
#C0508F #C0B950 #50C081 #5057C0
square
#C0508F #C0B950 #50C081 #5057C0
split-complementary
#C0508F #57C050 #50C0B9
monochromatic
#6E284F #9B3870 #C0508F #D07DAC #E0AAC9

Accessibility & contrast

On white

4.39
#C0508F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#C0508F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C0508F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0508F#FFFFFF#000000##000000
##C0508F1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C91
Deuteranopia (green-blind)
#7C808C
Tritanopia (blue-blind)
#CC4D69
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c0508f;
/* rgb */ color: rgb(192, 80, 143);
/* oklch */ color: oklch(59.5% 0.159 348.2);
Tailwind
colors: {
  custom: {
    50: '#d686af',
    500: '#c0508f',
    950: '#000000',
  },
}
SCSS
$custom: #c0508f;
$custom-light: #d686af;
$custom-dark: #000000;
JSON
{
  "hex": "#c0508f",
  "rgb": {
    "r": 192,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 326.25,
    "s": 47.059,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59507,
    "c": 0.15943,
    "h": 348.2
  },
  "luminance": 0.18927
}

Semantic roles & 50–950 ramp

primary
#C0508F
secondary
#9ECEB3
accent
#D78C51
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150C10
muted
#837D7F

Preview Lab

Preview with #C0508F

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

Preview Lab → · Contrast checker → · Palette generator →

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