#30031B#30031B

#30031B is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.078 H 352.8°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#30031B
RGBrgb(48, 3, 27)
HSLhsl(328, 88%, 10%)
HSVhsv(328, 94%, 19%)
CMYKcmyk(0%, 93.8%, 43.8%, 81.2%)
CIE-LABlab(6.98, 24.94, -3.74)
CIE-LCHlch(6.98, 25.21, 351.47°)
OKLaboklab(20.8% 0.0773 -0.0098)
OKLCHoklch(20.8% 0.078 352.8)
XYZxyz(1.4494, 0.7728, 1.1095)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30031B #033018
analogous
#2E0330 #30031B #300305
triadic
#30031B #1B3003 #031B30
tetradic
#30031B #302E03 #033018 #030530
square
#30031B #302E03 #033018 #030530
split-complementary
#30031B #053003 #03302E
monochromatic
#1D0210 #1D0210 #30031B #6A073B #A30A5C

Accessibility & contrast

On white

18.19
#30031B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#30031B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30031B
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30031B#FFFFFF#000000##FFFFFF
##30031B1.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B101C
Deuteranopia (green-blind)
#18181A
Tritanopia (blue-blind)
#35000D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #30031b;
/* rgb */ color: rgb(48, 3, 27);
/* oklch */ color: oklch(20.8% 0.078 352.8);
Tailwind
colors: {
  custom: {
    50: '#6b4857',
    500: '#30031b',
    950: '#000000',
  },
}
SCSS
$custom: #30031b;
$custom-light: #6b4857;
$custom-dark: #000000;
JSON
{
  "hex": "#30031b",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 27
  },
  "hsl": {
    "h": 328,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.20803,
    "c": 0.07791,
    "h": 352.8
  },
  "luminance": 0.00773
}

Semantic roles & 50–950 ramp

primary
#30031B
secondary
#1B7344
accent
#FE8D29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #30031B

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

Preview Lab → · Contrast checker → · Palette generator →

#30031B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva