#30171F#30171F

#30171F is a very dark, muted pink. Relative luminance 0.013; OKLCH L 24.3% C 0.042 H 0.2°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#30171F
RGBrgb(48, 23, 31)
HSLhsl(341, 35%, 14%)
HSVhsv(341, 52%, 19%)
CMYKcmyk(0%, 52.1%, 35.4%, 81.2%)
CIE-LABlab(11.55, 13.83, -0.02)
CIE-LCHlch(11.55, 13.83, 359.90°)
OKLaboklab(24.29% 0.0419 0.0001)
OKLCHoklch(24.29% 0.042 0.2)
XYZxyz(1.7727, 1.3402, 1.4614)
Luminance0.0134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30171F #173028
analogous
#30172C #30171F #301C17
triadic
#30171F #1F3017 #171F30
tetradic
#30171F #2C3017 #173028 #1C1730
square
#30171F #2C3017 #173028 #1C1730
split-complementary
#30171F #17301C #172C30
monochromatic
#150A0D #150A0D #30171F #592B3A #833F54

Accessibility & contrast

On white

16.56
#30171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#30171F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30171F
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30171F#FFFFFF#000000##FFFFFF
##30171F1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1C1F
Deuteranopia (green-blind)
#21201E
Tritanopia (blue-blind)
#34151A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #30171f;
/* rgb */ color: rgb(48, 23, 31);
/* oklch */ color: oklch(24.3% 0.042 0.2);
Tailwind
colors: {
  custom: {
    50: '#69545a',
    500: '#30171f',
    950: '#000000',
  },
}
SCSS
$custom: #30171f;
$custom-light: #69545a;
$custom-dark: #000000;
JSON
{
  "hex": "#30171f",
  "rgb": {
    "r": 48,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 340.8,
    "s": 35.211,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24293,
    "c": 0.04186,
    "h": 0.2
  },
  "luminance": 0.0134
}

Semantic roles & 50–950 ramp

primary
#30171F
secondary
#3D6559
accent
#CBA85D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060303
muted
#7A7878

Preview Lab

Preview with #30171F

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

Preview Lab → · Contrast checker → · Palette generator →

#30171F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva