#C0306E#C0306E

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

Color values

HEX#C0306E
RGBrgb(192, 48, 110)
HSLhsl(334, 60%, 47%)
HSVhsv(334, 75%, 75%)
CMYKcmyk(0%, 75%, 42.7%, 24.7%)
CIE-LABlab(44.87, 60.58, -1.00)
CIE-LCHlch(44.87, 60.58, 359.05°)
OKLaboklab(54.91% 0.186 -0.0019)
OKLCHoklch(54.91% 0.186 359.4)
XYZxyz(25.6116, 14.4495, 16.1892)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0306E #30C082
analogous
#C030B6 #C0306E #C03A30
triadic
#C0306E #6EC030 #306EC0
tetradic
#C0306E #B6C030 #30C082 #3A30C0
square
#C0306E #B6C030 #30C082 #3A30C0
split-complementary
#C0306E #30C03A #30B6C0
monochromatic
#5E1836 #8F2452 #C0306E #D5588E #E189AF

Accessibility & contrast

On white

5.40
#C0306E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C0306E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0306E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0306E#FFFFFF#000000##FFFFFF
##C0306E1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505970
Deuteranopia (green-blind)
#77746B
Tritanopia (blue-blind)
#D0184B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c0306e;
/* rgb */ color: rgb(192, 48, 110);
/* oklch */ color: oklch(54.9% 0.186 359.4);
Tailwind
colors: {
  custom: {
    50: '#d87597',
    500: '#c0306e',
    950: '#000000',
  },
}
SCSS
$custom: #c0306e;
$custom-light: #d87597;
$custom-dark: #000000;
JSON
{
  "hex": "#c0306e",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 334.167,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54914,
    "c": 0.18602,
    "h": 359.4
  },
  "luminance": 0.14446
}

Semantic roles & 50–950 ramp

primary
#C0306E
secondary
#80CBAB
accent
#E39F45
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C0306E

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

Preview Lab → · Contrast checker → · Palette generator →

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