#C030A6#C030A6

#C030A6 is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.2% C 0.216 H 336.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C030A6
RGBrgb(192, 48, 166)
HSLhsl(311, 60%, 47%)
HSVhsv(311, 75%, 75%)
CMYKcmyk(0%, 75%, 13.5%, 24.7%)
CIE-LABlab(47.07, 67.34, -31.58)
CIE-LCHlch(47.07, 74.38, 334.88°)
OKLaboklab(57.24% 0.198 -0.086)
OKLCHoklch(57.24% 0.216 336.5)
XYZxyz(29.6786, 16.0763, 37.6090)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C030A6 #30C04A
analogous
#9230C0 #C030A6 #C0305E
triadic
#C030A6 #A6C030 #30A6C0
tetradic
#C030A6 #C09230 #30C04A #305EC0
square
#C030A6 #C09230 #30C04A #305EC0
split-complementary
#C030A6 #5EC030 #30C092
monochromatic
#5E1851 #8F247C #C030A6 #D558BF #E189D1

Accessibility & contrast

On white

4.98
#C030A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#C030A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C030A6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C030A6#FFFFFF#000000##FFFFFF
##C030A61.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362A9
Deuteranopia (green-blind)
#6677A3
Tritanopia (blue-blind)
#CA3A68
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c030a6;
/* rgb */ color: rgb(192, 48, 166);
/* oklch */ color: oklch(57.2% 0.216 336.5);
Tailwind
colors: {
  custom: {
    50: '#d777c1',
    500: '#c030a6',
    950: '#000000',
  },
}
SCSS
$custom: #c030a6;
$custom-light: #d777c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c030a6",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 310.833,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57236,
    "c": 0.21588,
    "h": 336.5
  },
  "luminance": 0.16074
}

Semantic roles & 50–950 ramp

primary
#C030A6
secondary
#80CB8E
accent
#E36145
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C030A6

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

Preview Lab → · Contrast checker → · Palette generator →

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