#301F2D#301F2D

#301F2D is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.6% C 0.035 H 332.9°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#301F2D
RGBrgb(48, 31, 45)
HSLhsl(311, 22%, 15%)
HSVhsv(311, 35%, 19%)
CMYKcmyk(0%, 35.4%, 6.2%, 81.2%)
CIE-LABlab(14.39, 11.13, -6.03)
CIE-LCHlch(14.39, 12.66, 331.55°)
OKLaboklab(26.63% 0.0316 -0.0162)
OKLCHoklch(26.63% 0.035 332.9)
XYZxyz(2.1825, 1.7979, 2.7142)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301F2D #1F3022
analogous
#2A1F30 #301F2D #301F24
triadic
#301F2D #2D301F #1F2D30
tetradic
#301F2D #302A1F #1F3022 #1F2430
square
#301F2D #302A1F #1F3022 #1F2430
split-complementary
#301F2D #24301F #1F302A
monochromatic
#130C11 #130C11 #301F2D #553750 #7A4F73

Accessibility & contrast

On white

15.45
#301F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#301F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301F2D
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301F2D#FFFFFF#000000##FFFFFF
##301F2D1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232E
Deuteranopia (green-blind)
#23252C
Tritanopia (blue-blind)
#322024
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #301f2d;
/* rgb */ color: rgb(48, 31, 45);
/* oklch */ color: oklch(26.6% 0.035 332.9);
Tailwind
colors: {
  custom: {
    50: '#685a65',
    500: '#301f2d',
    950: '#000000',
  },
}
SCSS
$custom: #301f2d;
$custom-light: #685a65;
$custom-dark: #000000;
JSON
{
  "hex": "#301f2d",
  "rgb": {
    "r": 48,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 310.588,
    "s": 21.519,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26634,
    "c": 0.03548,
    "h": 332.9
  },
  "luminance": 0.01798
}

Semantic roles & 50–950 ramp

primary
#301F2D
secondary
#49624D
accent
#BE796A
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060405
muted
#7A797A

Preview Lab

Preview with #301F2D

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

Preview Lab → · Contrast checker → · Palette generator →

#301F2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva