#C0309E#C0309E

#C0309E is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.8% C 0.211 H 339.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C0309E
RGBrgb(192, 48, 158)
HSLhsl(314, 60%, 47%)
HSVhsv(314, 75%, 75%)
CMYKcmyk(0%, 75%, 17.7%, 24.7%)
CIE-LABlab(46.70, 66.22, -27.40)
CIE-LCHlch(46.70, 71.67, 337.52°)
OKLaboklab(56.85% 0.1971 -0.0741)
OKLCHoklch(56.85% 0.211 339.4)
XYZxyz(28.9675, 15.7918, 33.8637)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0309E #30C052
analogous
#9A30C0 #C0309E #C03056
triadic
#C0309E #9EC030 #309EC0
tetradic
#C0309E #C09A30 #30C052 #3056C0
square
#C0309E #C09A30 #30C052 #3056C0
split-complementary
#C0309E #56C030 #30C09A
monochromatic
#5E184D #8F2476 #C0309E #D558B8 #E189CD

Accessibility & contrast

On white

5.05
#C0309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#C0309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0309E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0309E#FFFFFF#000000##FFFFFF
##C0309E1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3960A1
Deuteranopia (green-blind)
#69779B
Tritanopia (blue-blind)
#CB3664
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c0309e;
/* rgb */ color: rgb(192, 48, 158);
/* oklch */ color: oklch(56.8% 0.211 339.4);
Tailwind
colors: {
  custom: {
    50: '#d777bb',
    500: '#c0309e',
    950: '#000000',
  },
}
SCSS
$custom: #c0309e;
$custom-light: #d777bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c0309e",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 314.167,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56845,
    "c": 0.2106,
    "h": 339.4
  },
  "luminance": 0.15789
}

Semantic roles & 50–950 ramp

primary
#C0309E
secondary
#80CB92
accent
#E36A45
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C0309E

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

Preview Lab → · Contrast checker → · Palette generator →

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