#300718#300718

#300718 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.3% C 0.069 H 359.3°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#300718
RGBrgb(48, 7, 24)
HSLhsl(335, 75%, 11%)
HSVhsv(335, 85%, 19%)
CMYKcmyk(0%, 85.4%, 50%, 81.2%)
CIE-LABlab(7.65, 22.36, -0.41)
CIE-LCHlch(7.65, 22.37, 358.94°)
OKLaboklab(21.28% 0.0687 -0.0008)
OKLCHoklch(21.28% 0.069 359.3)
XYZxyz(1.4599, 0.8465, 0.9505)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300718 #07301F
analogous
#30072C #300718 #300A07
triadic
#300718 #183007 #071830
tetradic
#300718 #2C3007 #07301F #0A0730
square
#300718 #2C3007 #07301F #0A0730
split-complementary
#300718 #07300A #072C30
monochromatic
#1B040D #1B040D #300718 #650F33 #9B174D

Accessibility & contrast

On white

17.96
#300718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#300718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300718
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300718#FFFFFF#000000##FFFFFF
##3007181.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1218
Deuteranopia (green-blind)
#1A1A17
Tritanopia (blue-blind)
#35030E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #300718;
/* rgb */ color: rgb(48, 7, 24);
/* oklch */ color: oklch(21.3% 0.069 359.3);
Tailwind
colors: {
  custom: {
    50: '#6b4a54',
    500: '#300718',
    950: '#000000',
  },
}
SCSS
$custom: #300718;
$custom-light: #6b4a54;
$custom-dark: #000000;
JSON
{
  "hex": "#300718",
  "rgb": {
    "r": 48,
    "g": 7,
    "b": 24
  },
  "hsl": {
    "h": 335.122,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21279,
    "c": 0.06867,
    "h": 359.3
  },
  "luminance": 0.00846
}

Semantic roles & 50–950 ramp

primary
#300718
secondary
#237050
accent
#F1A437
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #300718

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

Preview Lab → · Contrast checker → · Palette generator →

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