#C0309D#C0309D

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

Color values

HEX#C0309D
RGBrgb(192, 48, 157)
HSLhsl(315, 60%, 47%)
HSVhsv(315, 75%, 75%)
CMYKcmyk(0%, 75%, 18.2%, 24.7%)
CIE-LABlab(46.65, 66.09, -26.87)
CIE-LCHlch(46.65, 71.34, 337.87°)
OKLaboklab(56.8% 0.197 -0.0726)
OKLCHoklch(56.8% 0.21 339.8)
XYZxyz(28.8818, 15.7576, 33.4122)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0309D #30C053
analogous
#9B30C0 #C0309D #C03055
triadic
#C0309D #9DC030 #309DC0
tetradic
#C0309D #C09B30 #30C053 #3055C0
square
#C0309D #C09B30 #30C053 #3055C0
split-complementary
#C0309D #55C030 #30C09B
monochromatic
#5E184D #8F2475 #C0309D #D558B7 #E189CC

Accessibility & contrast

On white

5.06
#C0309D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C0309D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0309D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0309D#FFFFFF#000000##FFFFFF
##C0309D1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A60A0
Deuteranopia (green-blind)
#69779A
Tritanopia (blue-blind)
#CB3563
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c0309d;
/* rgb */ color: rgb(192, 48, 157);
/* oklch */ color: oklch(56.8% 0.210 339.8);
Tailwind
colors: {
  custom: {
    50: '#d777ba',
    500: '#c0309d',
    950: '#000000',
  },
}
SCSS
$custom: #c0309d;
$custom-light: #d777ba;
$custom-dark: #000000;
JSON
{
  "hex": "#c0309d",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 314.583,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56797,
    "c": 0.20996,
    "h": 339.8
  },
  "luminance": 0.15755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0309D

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

Preview Lab → · Contrast checker → · Palette generator →

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