#C030A2#C030A2

#C030A2 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.0% C 0.213 H 337.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C030A2
RGBrgb(192, 48, 162)
HSLhsl(313, 60%, 47%)
HSVhsv(313, 75%, 75%)
CMYKcmyk(0%, 75%, 15.6%, 24.7%)
CIE-LABlab(46.88, 66.78, -29.50)
CIE-LCHlch(46.88, 73.00, 336.17°)
OKLaboklab(57.04% 0.1976 -0.0801)
OKLCHoklch(57.04% 0.213 337.9)
XYZxyz(29.3174, 15.9318, 35.7065)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C030A2 #30C04E
analogous
#9630C0 #C030A2 #C0305A
triadic
#C030A2 #A2C030 #30A2C0
tetradic
#C030A2 #C09630 #30C04E #305AC0
square
#C030A2 #C09630 #30C04E #305AC0
split-complementary
#C030A2 #5AC030 #30C096
monochromatic
#5E184F #8F2479 #C030A2 #D558BB #E189CF

Accessibility & contrast

On white

5.02
#C030A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#C030A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C030A2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C030A2#FFFFFF#000000##FFFFFF
##C030A21.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#CB3866
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c030a2;
/* rgb */ color: rgb(192, 48, 162);
/* oklch */ color: oklch(57.0% 0.213 337.9);
Tailwind
colors: {
  custom: {
    50: '#d777be',
    500: '#c030a2',
    950: '#000000',
  },
}
SCSS
$custom: #c030a2;
$custom-light: #d777be;
$custom-dark: #000000;
JSON
{
  "hex": "#c030a2",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 312.5,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57038,
    "c": 0.21321,
    "h": 337.9
  },
  "luminance": 0.15929
}

Semantic roles & 50–950 ramp

primary
#C030A2
secondary
#80CB90
accent
#E36645
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C030A2

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

Preview Lab → · Contrast checker → · Palette generator →

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