#300D26#300D26

#300D26 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.8% C 0.067 H 340.4°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#300D26
RGBrgb(48, 13, 38)
HSLhsl(317, 57%, 12%)
HSVhsv(317, 73%, 19%)
CMYKcmyk(0%, 72.9%, 20.8%, 81.2%)
CIE-LABlab(9.45, 21.38, -8.42)
CIE-LCHlch(9.45, 22.98, 338.51°)
OKLaboklab(22.82% 0.0634 -0.0226)
OKLCHoklch(22.82% 0.067 340.4)
XYZxyz(1.7127, 1.0563, 1.9470)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300D26 #0D3017
analogous
#290D30 #300D26 #300D15
triadic
#300D26 #26300D #0D2630
tetradic
#300D26 #30290D #0D3017 #0D1530
square
#300D26 #30290D #0D3017 #0D1530
split-complementary
#300D26 #15300D #0D3029
monochromatic
#180713 #180713 #300D26 #601A4C #902772

Accessibility & contrast

On white

17.34
#300D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300D26
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300D26#FFFFFF#000000##FFFFFF
##300D261.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1727
Deuteranopia (green-blind)
#191C25
Tritanopia (blue-blind)
#330E17
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300d26;
/* rgb */ color: rgb(48, 13, 38);
/* oklch */ color: oklch(22.8% 0.067 340.4);
Tailwind
colors: {
  custom: {
    50: '#6a4e60',
    500: '#300d26',
    950: '#000000',
  },
}
SCSS
$custom: #300d26;
$custom-light: #6a4e60;
$custom-dark: #000000;
JSON
{
  "hex": "#300d26",
  "rgb": {
    "r": 48,
    "g": 13,
    "b": 38
  },
  "hsl": {
    "h": 317.143,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22822,
    "c": 0.06732,
    "h": 340.4
  },
  "luminance": 0.01056
}

Semantic roles & 50–950 ramp

primary
#300D26
secondary
#2E6B3F
accent
#E17347
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #300D26

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

Preview Lab → · Contrast checker → · Palette generator →

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