#C0306C#C0306C

#C0306C is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.9% C 0.185 H 0.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#C0306C
RGBrgb(192, 48, 108)
HSLhsl(335, 60%, 47%)
HSVhsv(335, 75%, 75%)
CMYKcmyk(0%, 75%, 43.7%, 24.7%)
CIE-LABlab(44.81, 60.38, 0.14)
CIE-LCHlch(44.81, 60.38, 0.14°)
OKLaboklab(54.85% 0.1853 0.0011)
OKLCHoklch(54.85% 0.185 0.3)
XYZxyz(25.5039, 14.4064, 15.6222)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0306C #30C084
analogous
#C030B4 #C0306C #C03C30
triadic
#C0306C #6CC030 #306CC0
tetradic
#C0306C #B4C030 #30C084 #3C30C0
square
#C0306C #B4C030 #30C084 #3C30C0
split-complementary
#C0306C #30C03C #30B4C0
monochromatic
#5E1835 #8F2450 #C0306C #D5588C #E189AE

Accessibility & contrast

On white

5.41
#C0306C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#C0306C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0306C
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0306C#FFFFFF#000000##FFFFFF
##C0306C1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586D
Deuteranopia (green-blind)
#777469
Tritanopia (blue-blind)
#D0174A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c0306c;
/* rgb */ color: rgb(192, 48, 108);
/* oklch */ color: oklch(54.9% 0.185 0.3);
Tailwind
colors: {
  custom: {
    50: '#d97595',
    500: '#c0306c',
    950: '#000000',
  },
}
SCSS
$custom: #c0306c;
$custom-light: #d97595;
$custom-dark: #000000;
JSON
{
  "hex": "#c0306c",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 335,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5485,
    "c": 0.18535,
    "h": 0.3
  },
  "luminance": 0.14403
}

Semantic roles & 50–950 ramp

primary
#C0306C
secondary
#80CBAC
accent
#E3A145
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C0306C

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

Preview Lab → · Contrast checker → · Palette generator →

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