#C330A8#C330A8

#C330A8 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.8% C 0.219 H 336.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C330A8
RGBrgb(195, 48, 168)
HSLhsl(311, 60%, 48%)
HSVhsv(311, 75%, 76%)
CMYKcmyk(0%, 75.4%, 13.8%, 23.5%)
CIE-LABlab(47.68, 68.31, -31.77)
CIE-LCHlch(47.68, 75.34, 335.05°)
OKLaboklab(57.8% 0.2011 -0.0865)
OKLCHoklch(57.8% 0.219 336.7)
XYZxyz(30.6311, 16.5460, 38.6187)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C330A8 #30C34B
analogous
#9430C3 #C330A8 #C3305F
triadic
#C330A8 #A8C330 #30A8C3
tetradic
#C330A8 #C39430 #30C34B #305FC3
square
#C330A8 #C39430 #30C34B #305FC3
split-complementary
#C330A8 #5FC330 #30C394
monochromatic
#611853 #92247E #C330A8 #D65ABF #E28BD2

Accessibility & contrast

On white

4.87
#C330A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C330A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C330A8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C330A8#FFFFFF#000000##FFFFFF
##C330A81.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3463AB
Deuteranopia (green-blind)
#6779A5
Tritanopia (blue-blind)
#CD3A69
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c330a8;
/* rgb */ color: rgb(195, 48, 168);
/* oklch */ color: oklch(57.8% 0.219 336.7);
Tailwind
colors: {
  custom: {
    50: '#d978c2',
    500: '#c330a8',
    950: '#000000',
  },
}
SCSS
$custom: #c330a8;
$custom-light: #d978c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c330a8",
  "rgb": {
    "r": 195,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 311.02,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57802,
    "c": 0.21888,
    "h": 336.7
  },
  "luminance": 0.16543
}

Semantic roles & 50–950 ramp

primary
#C330A8
secondary
#82CC90
accent
#E46144
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C330A8

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

Preview Lab → · Contrast checker → · Palette generator →

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