#300D1F#300D1F

#300D1F is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.062 H 351.3°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#300D1F
RGBrgb(48, 13, 31)
HSLhsl(329, 57%, 12%)
HSVhsv(329, 73%, 19%)
CMYKcmyk(0%, 72.9%, 35.4%, 81.2%)
CIE-LABlab(9.12, 20.15, -3.63)
CIE-LCHlch(9.12, 20.47, 349.79°)
OKLaboklab(22.47% 0.0612 -0.0094)
OKLCHoklch(22.47% 0.062 351.3)
XYZxyz(1.6102, 1.0153, 1.4072)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300D1F #0D301E
analogous
#300D30 #300D1F #300D0E
triadic
#300D1F #1F300D #0D1F30
tetradic
#300D1F #30300D #0D301E #0D0E30
square
#300D1F #30300D #0D301E #0D0E30
split-complementary
#300D1F #0E300D #0D3030
monochromatic
#180710 #180710 #300D1F #601A3E #90275D

Accessibility & contrast

On white

17.46
#300D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#300D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300D1F
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300D1F#FFFFFF#000000##FFFFFF
##300D1F1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121620
Deuteranopia (green-blind)
#1B1C1E
Tritanopia (blue-blind)
#340B14
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300d1f;
/* rgb */ color: rgb(48, 13, 31);
/* oklch */ color: oklch(22.5% 0.062 351.3);
Tailwind
colors: {
  custom: {
    50: '#6a4e5a',
    500: '#300d1f',
    950: '#000000',
  },
}
SCSS
$custom: #300d1f;
$custom-light: #6a4e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#300d1f",
  "rgb": {
    "r": 48,
    "g": 13,
    "b": 31
  },
  "hsl": {
    "h": 329.143,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22466,
    "c": 0.06191,
    "h": 351.3
  },
  "luminance": 0.01015
}

Semantic roles & 50–950 ramp

primary
#300D1F
secondary
#2E6B4C
accent
#E19247
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #300D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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