#38151D#38151D

#38151D is a dark, muted red. Relative luminance 0.015; OKLCH L 25.2% C 0.056 H 7.7°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#38151D
RGBrgb(56, 21, 29)
HSLhsl(346, 45%, 15%)
HSVhsv(346, 63%, 22%)
CMYKcmyk(0%, 62.5%, 48.2%, 78%)
CIE-LABlab(12.39, 18.40, 2.85)
CIE-LCHlch(12.39, 18.62, 8.80°)
OKLaboklab(25.19% 0.0559 0.0075)
OKLCHoklch(25.19% 0.056 7.7)
XYZxyz(2.1210, 1.4660, 1.3334)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38151D #153830
analogous
#38152E #38151D #381F15
triadic
#38151D #1D3815 #151D38
tetradic
#38151D #2E3815 #153830 #1F1538
square
#38151D #2E3815 #153830 #1F1538
split-complementary
#38151D #15381F #152E38
monochromatic
#16080C #16080C #38151D #652634 #91364B

Accessibility & contrast

On white

16.24
#38151D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#38151D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38151D
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38151D#FFFFFF#000000##FFFFFF
##38151D1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1C1D
Deuteranopia (green-blind)
#25231C
Tritanopia (blue-blind)
#3D1118
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #38151d;
/* rgb */ color: rgb(56, 21, 29);
/* oklch */ color: oklch(25.2% 0.056 7.7);
Tailwind
colors: {
  custom: {
    50: '#715458',
    500: '#38151d',
    950: '#000000',
  },
}
SCSS
$custom: #38151d;
$custom-light: #715458;
$custom-dark: #000000;
JSON
{
  "hex": "#38151d",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 29
  },
  "hsl": {
    "h": 346.286,
    "s": 45.455,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25192,
    "c": 0.05639,
    "h": 7.7
  },
  "luminance": 0.01466
}

Semantic roles & 50–950 ramp

primary
#38151D
secondary
#3A6F63
accent
#D5B753
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#080203
muted
#7B7878

Preview Lab

Preview with #38151D

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

Preview Lab → · Contrast checker → · Palette generator →

#38151D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva