#C030A8#C030A8

#C030A8 is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.3% C 0.217 H 335.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C030A8
RGBrgb(192, 48, 168)
HSLhsl(310, 60%, 47%)
HSVhsv(310, 75%, 75%)
CMYKcmyk(0%, 75%, 12.5%, 24.7%)
CIE-LABlab(47.17, 67.63, -32.61)
CIE-LCHlch(47.17, 75.08, 334.25°)
OKLaboklab(57.34% 0.1982 -0.089)
OKLCHoklch(57.34% 0.217 335.8)
XYZxyz(29.8635, 16.1502, 38.5827)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C030A8 #30C048
analogous
#9030C0 #C030A8 #C03060
triadic
#C030A8 #A8C030 #30A8C0
tetradic
#C030A8 #C09030 #30C048 #3060C0
square
#C030A8 #C09030 #30C048 #3060C0
split-complementary
#C030A8 #60C030 #30C090
monochromatic
#5E1852 #8F247D #C030A8 #D558C0 #E189D3

Accessibility & contrast

On white

4.97
#C030A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C030A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C030A8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C030A8#FFFFFF#000000##FFFFFF
##C030A81.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AB
Deuteranopia (green-blind)
#6577A5
Tritanopia (blue-blind)
#CA3B69
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c030a8;
/* rgb */ color: rgb(192, 48, 168);
/* oklch */ color: oklch(57.3% 0.217 335.8);
Tailwind
colors: {
  custom: {
    50: '#d777c2',
    500: '#c030a8',
    950: '#000000',
  },
}
SCSS
$custom: #c030a8;
$custom-light: #d777c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c030a8",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 310,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.21724,
    "h": 335.8
  },
  "luminance": 0.16148
}

Semantic roles & 50–950 ramp

primary
#C030A8
secondary
#80CB8D
accent
#E35F45
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C030A8

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

Preview Lab → · Contrast checker → · Palette generator →

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