#301720#301720

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

Color values

HEX#301720
RGBrgb(48, 23, 32)
HSLhsl(338, 35%, 14%)
HSVhsv(338, 52%, 19%)
CMYKcmyk(0%, 52.1%, 33.3%, 81.2%)
CIE-LABlab(11.59, 14.01, -0.71)
CIE-LCHlch(11.59, 14.02, 357.09°)
OKLaboklab(24.33% 0.0423 -0.0017)
OKLCHoklch(24.33% 0.042 357.7)
XYZxyz(1.7861, 1.3456, 1.5319)
Luminance0.0135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301720 #173027
analogous
#30172D #301720 #301B17
triadic
#301720 #203017 #172030
tetradic
#301720 #2D3017 #173027 #1B1730
square
#301720 #2D3017 #173027 #1B1730
split-complementary
#301720 #17301B #172D30
monochromatic
#150A0E #150A0E #301720 #592B3C #833F57

Accessibility & contrast

On white

16.55
#301720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#301720 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301720
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301720#FFFFFF#000000##FFFFFF
##3017201.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1C20
Deuteranopia (green-blind)
#21201F
Tritanopia (blue-blind)
#34161A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #301720;
/* rgb */ color: rgb(48, 23, 32);
/* oklch */ color: oklch(24.3% 0.042 357.7);
Tailwind
colors: {
  custom: {
    50: '#69545b',
    500: '#301720',
    950: '#000000',
  },
}
SCSS
$custom: #301720;
$custom-light: #69545b;
$custom-dark: #000000;
JSON
{
  "hex": "#301720",
  "rgb": {
    "r": 48,
    "g": 23,
    "b": 32
  },
  "hsl": {
    "h": 338.4,
    "s": 35.211,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24333,
    "c": 0.04234,
    "h": 357.7
  },
  "luminance": 0.01345
}

Semantic roles & 50–950 ramp

primary
#301720
secondary
#3D6557
accent
#CBA35D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060304
muted
#7A7879

Preview Lab

Preview with #301720

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

Preview Lab → · Contrast checker → · Palette generator →

#301720 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva