#C030B4#C030B4

#C030B4 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.0% C 0.226 H 331.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C030B4
RGBrgb(192, 48, 180)
HSLhsl(305, 60%, 47%)
HSVhsv(305, 75%, 75%)
CMYKcmyk(0%, 75%, 6.2%, 24.7%)
CIE-LABlab(47.78, 69.40, -38.74)
CIE-LCHlch(47.78, 79.48, 330.83°)
OKLaboklab(57.97% 0.1989 -0.1066)
OKLCHoklch(57.97% 0.226 331.8)
XYZxyz(31.0334, 16.6182, 44.7443)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C030B4 #30C03C
analogous
#8430C0 #C030B4 #C0306C
triadic
#C030B4 #B4C030 #30B4C0
tetradic
#C030B4 #C08430 #30C03C #306CC0
square
#C030B4 #C08430 #30C03C #306CC0
split-complementary
#C030B4 #6CC030 #30C084
monochromatic
#5E1858 #8F2486 #C030B4 #D558CB #E189DA

Accessibility & contrast

On white

4.86
#C030B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C030B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C030B4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C030B4#FFFFFF#000000##FFFFFF
##C030B41.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2465B8
Deuteranopia (green-blind)
#5F78B1
Tritanopia (blue-blind)
#C84170
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c030b4;
/* rgb */ color: rgb(192, 48, 180);
/* oklch */ color: oklch(58.0% 0.226 331.8);
Tailwind
colors: {
  custom: {
    50: '#d778cb',
    500: '#c030b4',
    950: '#000000',
  },
}
SCSS
$custom: #c030b4;
$custom-light: #d778cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c030b4",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 305,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57967,
    "c": 0.22564,
    "h": 331.8
  },
  "luminance": 0.16616
}

Semantic roles & 50–950 ramp

primary
#C030B4
secondary
#80CB87
accent
#E35245
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C030B4

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

Preview Lab → · Contrast checker → · Palette generator →

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