#C0309A#C0309A

#C0309A is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.7% C 0.208 H 340.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C0309A
RGBrgb(192, 48, 154)
HSLhsl(316, 60%, 47%)
HSVhsv(316, 75%, 75%)
CMYKcmyk(0%, 75%, 19.8%, 24.7%)
CIE-LABlab(46.52, 65.68, -25.29)
CIE-LCHlch(46.52, 70.38, 338.94°)
OKLaboklab(56.66% 0.1966 -0.0681)
OKLCHoklch(56.66% 0.208 340.9)
XYZxyz(28.6288, 15.6564, 32.0798)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0309A #30C056
analogous
#9E30C0 #C0309A #C03052
triadic
#C0309A #9AC030 #309AC0
tetradic
#C0309A #C09E30 #30C056 #3052C0
square
#C0309A #C09E30 #30C056 #3052C0
split-complementary
#C0309A #52C030 #30C09E
monochromatic
#5E184B #8F2473 #C0309A #D558B4 #E189CA

Accessibility & contrast

On white

5.08
#C0309A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C0309A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0309A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0309A#FFFFFF#000000##FFFFFF
##C0309A1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5F9D
Deuteranopia (green-blind)
#6A7797
Tritanopia (blue-blind)
#CC3462
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c0309a;
/* rgb */ color: rgb(192, 48, 154);
/* oklch */ color: oklch(56.7% 0.208 340.9);
Tailwind
colors: {
  custom: {
    50: '#d777b8',
    500: '#c0309a',
    950: '#000000',
  },
}
SCSS
$custom: #c0309a;
$custom-light: #d777b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c0309a",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 315.833,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56656,
    "c": 0.20805,
    "h": 340.9
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#C0309A
secondary
#80CB94
accent
#E36E45
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C0309A

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

Preview Lab → · Contrast checker → · Palette generator →

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