#C0309C#C0309C

#C0309C is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.8% C 0.209 H 340.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C0309C
RGBrgb(192, 48, 156)
HSLhsl(315, 60%, 47%)
HSVhsv(315, 75%, 75%)
CMYKcmyk(0%, 75%, 18.7%, 24.7%)
CIE-LABlab(46.61, 65.95, -26.35)
CIE-LCHlch(46.61, 71.02, 338.22°)
OKLaboklab(56.75% 0.1969 -0.0711)
OKLCHoklch(56.75% 0.209 340.1)
XYZxyz(28.7968, 15.7235, 32.9644)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0309C #30C054
analogous
#9C30C0 #C0309C #C03054
triadic
#C0309C #9CC030 #309CC0
tetradic
#C0309C #C09C30 #30C054 #3054C0
square
#C0309C #C09C30 #30C054 #3054C0
split-complementary
#C0309C #54C030 #30C09C
monochromatic
#5E184C #8F2474 #C0309C #D558B6 #E189CB

Accessibility & contrast

On white

5.07
#C0309C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#C0309C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0309C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0309C#FFFFFF#000000##FFFFFF
##C0309C1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B609F
Deuteranopia (green-blind)
#6A7799
Tritanopia (blue-blind)
#CB3563
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c0309c;
/* rgb */ color: rgb(192, 48, 156);
/* oklch */ color: oklch(56.8% 0.209 340.1);
Tailwind
colors: {
  custom: {
    50: '#d777b9',
    500: '#c0309c',
    950: '#000000',
  },
}
SCSS
$custom: #c0309c;
$custom-light: #d777b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c0309c",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 315,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5675,
    "c": 0.20931,
    "h": 340.1
  },
  "luminance": 0.15721
}

Semantic roles & 50–950 ramp

primary
#C0309C
secondary
#80CB93
accent
#E36C45
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C0309C

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

Preview Lab → · Contrast checker → · Palette generator →

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