#300B28#300B28

#300B28 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.6% C 0.073 H 337.3°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#300B28
RGBrgb(48, 11, 40)
HSLhsl(313, 63%, 12%)
HSVhsv(313, 77%, 19%)
CMYKcmyk(0%, 77.1%, 16.7%, 81.2%)
CIE-LABlab(9.17, 22.84, -10.36)
CIE-LCHlch(9.17, 25.08, 335.60°)
OKLaboklab(22.65% 0.0671 -0.0281)
OKLCHoklch(22.65% 0.073 337.3)
XYZxyz(1.7216, 1.0211, 2.1135)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B28 #0B3013
analogous
#260B30 #300B28 #300B16
triadic
#300B28 #28300B #0B2830
tetradic
#300B28 #30260B #0B3013 #0B1630
square
#300B28 #30260B #0B3013 #0B1630
split-complementary
#300B28 #16300B #0B3026
monochromatic
#190615 #190615 #300B28 #621651 #94227B

Accessibility & contrast

On white

17.44
#300B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300B28
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B28#FFFFFF#000000##FFFFFF
##300B281.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #300b28;
/* rgb */ color: rgb(48, 11, 40);
/* oklch */ color: oklch(22.6% 0.073 337.3);
Tailwind
colors: {
  custom: {
    50: '#6a4d62',
    500: '#300b28',
    950: '#000000',
  },
}
SCSS
$custom: #300b28;
$custom-light: #6a4d62;
$custom-dark: #000000;
JSON
{
  "hex": "#300b28",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 40
  },
  "hsl": {
    "h": 312.973,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22647,
    "c": 0.07275,
    "h": 337.3
  },
  "luminance": 0.01021
}

Semantic roles & 50–950 ramp

primary
#300B28
secondary
#2A6D39
accent
#E66542
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #300B28

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

Preview Lab → · Contrast checker → · Palette generator →

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