#300311#300311

#300311 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.4% C 0.074 H 7.1°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#300311
RGBrgb(48, 3, 17)
HSLhsl(341, 88%, 10%)
HSVhsv(341, 94%, 19%)
CMYKcmyk(0%, 93.8%, 64.6%, 81.2%)
CIE-LABlab(6.63, 23.62, 2.84)
CIE-LCHlch(6.63, 23.79, 6.86°)
OKLaboklab(20.39% 0.0732 0.0091)
OKLCHoklch(20.39% 0.074 7.1)
XYZxyz(1.3528, 0.7342, 0.6007)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300311 #033022
analogous
#300328 #300311 #300B03
triadic
#300311 #113003 #031130
tetradic
#300311 #283003 #033022 #0B0330
square
#300311 #283003 #033022 #0B0330
split-complementary
#300311 #03300B #032830
monochromatic
#1D020A #1D020A #300311 #6A0725 #A30A3A

Accessibility & contrast

On white

18.31
#300311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#300311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300311
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300311#FFFFFF#000000##FFFFFF
##3003111.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0F11
Deuteranopia (green-blind)
#1A1810
Tritanopia (blue-blind)
#350008
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #300311;
/* rgb */ color: rgb(48, 3, 17);
/* oklch */ color: oklch(20.4% 0.074 7.1);
Tailwind
colors: {
  custom: {
    50: '#6c484f',
    500: '#300311',
    950: '#000000',
  },
}
SCSS
$custom: #300311;
$custom-light: #6c484f;
$custom-dark: #000000;
JSON
{
  "hex": "#300311",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 17
  },
  "hsl": {
    "h": 341.333,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.20392,
    "c": 0.07377,
    "h": 7.1
  },
  "luminance": 0.00734
}

Semantic roles & 50–950 ramp

primary
#300311
secondary
#1B7358
accent
#FEBC29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #300311

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

Preview Lab → · Contrast checker → · Palette generator →

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