#300C28#300C28

#300C28 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.8% C 0.071 H 337.4°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#300C28
RGBrgb(48, 12, 40)
HSLhsl(313, 60%, 12%)
HSVhsv(313, 75%, 19%)
CMYKcmyk(0%, 75%, 16.7%, 81.2%)
CIE-LABlab(9.36, 22.31, -10.06)
CIE-LCHlch(9.36, 24.47, 335.72°)
OKLaboklab(22.79% 0.0655 -0.0272)
OKLCHoklch(22.79% 0.071 337.4)
XYZxyz(1.7334, 1.0447, 2.1174)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C28 #0C3014
analogous
#260C30 #300C28 #300C16
triadic
#300C28 #28300C #0C2830
tetradic
#300C28 #30260C #0C3014 #0C1630
square
#300C28 #30260C #0C3014 #0C1630
split-complementary
#300C28 #16300C #0C3026
monochromatic
#180614 #180614 #300C28 #611851 #92247A

Accessibility & contrast

On white

17.37
#300C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#300C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300C28
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C28#FFFFFF#000000##FFFFFF
##300C281.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1729
Deuteranopia (green-blind)
#181C27
Tritanopia (blue-blind)
#330E18
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300c28;
/* rgb */ color: rgb(48, 12, 40);
/* oklch */ color: oklch(22.8% 0.071 337.4);
Tailwind
colors: {
  custom: {
    50: '#6a4d62',
    500: '#300c28',
    950: '#000000',
  },
}
SCSS
$custom: #300c28;
$custom-light: #6a4d62;
$custom-dark: #000000;
JSON
{
  "hex": "#300c28",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 40
  },
  "hsl": {
    "h": 313.333,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22788,
    "c": 0.07097,
    "h": 337.4
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#300C28
secondary
#2C6C3A
accent
#E36845
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #300C28

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

Preview Lab → · Contrast checker → · Palette generator →

#300C28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva