#C330A7#C330A7

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

Color values

HEX#C330A7
RGBrgb(195, 48, 167)
HSLhsl(311, 60%, 48%)
HSVhsv(311, 75%, 76%)
CMYKcmyk(0%, 75.4%, 14.4%, 23.5%)
CIE-LABlab(47.64, 68.17, -31.26)
CIE-LCHlch(47.64, 74.99, 335.37°)
OKLaboklab(57.75% 0.201 -0.0851)
OKLCHoklch(57.75% 0.218 337.1)
XYZxyz(30.5383, 16.5089, 38.1299)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C330A7 #30C34C
analogous
#9630C3 #C330A7 #C3305D
triadic
#C330A7 #A7C330 #30A7C3
tetradic
#C330A7 #C39630 #30C34C #305DC3
square
#C330A7 #C39630 #30C34C #305DC3
split-complementary
#C330A7 #5DC330 #30C396
monochromatic
#611853 #92247D #C330A7 #D65ABF #E28BD2

Accessibility & contrast

On white

4.88
#C330A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C330A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C330A7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C330A7#FFFFFF#000000##FFFFFF
##C330A71.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AA
Deuteranopia (green-blind)
#6879A4
Tritanopia (blue-blind)
#CD3A69
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c330a7;
/* rgb */ color: rgb(195, 48, 167);
/* oklch */ color: oklch(57.8% 0.218 337.1);
Tailwind
colors: {
  custom: {
    50: '#d978c1',
    500: '#c330a7',
    950: '#000000',
  },
}
SCSS
$custom: #c330a7;
$custom-light: #d978c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c330a7",
  "rgb": {
    "r": 195,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 311.429,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57753,
    "c": 0.21822,
    "h": 337.1
  },
  "luminance": 0.16506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C330A7

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

Preview Lab → · Contrast checker → · Palette generator →

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