#C030B6#C030B6

#C030B6 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.1% C 0.227 H 331.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C030B6
RGBrgb(192, 48, 182)
HSLhsl(304, 60%, 47%)
HSVhsv(304, 75%, 75%)
CMYKcmyk(0%, 75%, 5.2%, 24.7%)
CIE-LABlab(47.88, 69.71, -39.74)
CIE-LCHlch(47.88, 80.24, 330.31°)
OKLaboklab(58.08% 0.1989 -0.1095)
OKLCHoklch(58.08% 0.227 331.2)
XYZxyz(31.2387, 16.7003, 45.8251)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C030B6 #30C03A
analogous
#8230C0 #C030B6 #C0306E
triadic
#C030B6 #B6C030 #30B6C0
tetradic
#C030B6 #C08230 #30C03A #306EC0
square
#C030B6 #C08230 #30C03A #306EC0
split-complementary
#C030B6 #6EC030 #30C082
monochromatic
#5E1859 #8F2488 #C030B6 #D558CD #E189DB

Accessibility & contrast

On white

4.84
#C030B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C030B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C030B6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C030B6#FFFFFF#000000##FFFFFF
##C030B61.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2165BA
Deuteranopia (green-blind)
#5E79B3
Tritanopia (blue-blind)
#C84271
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c030b6;
/* rgb */ color: rgb(192, 48, 182);
/* oklch */ color: oklch(58.1% 0.227 331.2);
Tailwind
colors: {
  custom: {
    50: '#d778cc',
    500: '#c030b6',
    950: '#000000',
  },
}
SCSS
$custom: #c030b6;
$custom-light: #d778cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c030b6",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 304.167,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58076,
    "c": 0.22707,
    "h": 331.2
  },
  "luminance": 0.16698
}

Semantic roles & 50–950 ramp

primary
#C030B6
secondary
#80CB86
accent
#E35045
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C030B6

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

Preview Lab → · Contrast checker → · Palette generator →

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