#C0309F#C0309F

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

Color values

HEX#C0309F
RGBrgb(192, 48, 159)
HSLhsl(314, 60%, 47%)
HSVhsv(314, 75%, 75%)
CMYKcmyk(0%, 75%, 17.2%, 24.7%)
CIE-LABlab(46.75, 66.36, -27.93)
CIE-LCHlch(46.75, 72.00, 337.18°)
OKLaboklab(56.89% 0.1972 -0.0756)
OKLCHoklch(56.89% 0.211 339)
XYZxyz(29.0539, 15.8264, 34.3188)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0309F #30C051
analogous
#9930C0 #C0309F #C03057
triadic
#C0309F #9FC030 #309FC0
tetradic
#C0309F #C09930 #30C051 #3057C0
square
#C0309F #C09930 #30C051 #3057C0
split-complementary
#C0309F #57C030 #30C099
monochromatic
#5E184E #8F2476 #C0309F #D558B9 #E189CD

Accessibility & contrast

On white

5.04
#C0309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C0309F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0309F#FFFFFF#000000##FFFFFF
##C0309F1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0309f;
/* rgb */ color: rgb(192, 48, 159);
/* oklch */ color: oklch(56.9% 0.211 339.0);
Tailwind
colors: {
  custom: {
    50: '#d777bb',
    500: '#c0309f',
    950: '#000000',
  },
}
SCSS
$custom: #c0309f;
$custom-light: #d777bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c0309f",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 313.75,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56893,
    "c": 0.21124,
    "h": 339
  },
  "luminance": 0.15824
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0309F

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

Preview Lab → · Contrast checker → · Palette generator →

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