#38161E#38161E

#38161E is a dark, muted red. Relative luminance 0.015; OKLCH L 25.4% C 0.055 H 7.0°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#38161E
RGBrgb(56, 22, 30)
HSLhsl(346, 44%, 15%)
HSVhsv(346, 61%, 22%)
CMYKcmyk(0%, 60.7%, 46.4%, 78%)
CIE-LABlab(12.66, 17.91, 2.50)
CIE-LCHlch(12.66, 18.09, 7.93°)
OKLaboklab(25.41% 0.0544 0.0067)
OKLCHoklch(25.41% 0.055 7)
XYZxyz(2.1523, 1.5085, 1.4059)
Luminance0.0151 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38161E #163830
analogous
#38162F #38161E #381F16
triadic
#38161E #1E3816 #161E38
tetradic
#38161E #2F3816 #163830 #1F1638
square
#38161E #2F3816 #163830 #1F1638
split-complementary
#38161E #16381F #162F38
monochromatic
#16090C #16090C #38161E #642736 #90394D

Accessibility & contrast

On white

16.13
#38161E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#38161E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38161E
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38161E#FFFFFF#000000##FFFFFF
##38161E1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1D1E
Deuteranopia (green-blind)
#25231D
Tritanopia (blue-blind)
#3D1319
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #38161e;
/* rgb */ color: rgb(56, 22, 30);
/* oklch */ color: oklch(25.4% 0.055 7.0);
Tailwind
colors: {
  custom: {
    50: '#705459',
    500: '#38161e',
    950: '#000000',
  },
}
SCSS
$custom: #38161e;
$custom-light: #705459;
$custom-dark: #000000;
JSON
{
  "hex": "#38161e",
  "rgb": {
    "r": 56,
    "g": 22,
    "b": 30
  },
  "hsl": {
    "h": 345.882,
    "s": 43.59,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25408,
    "c": 0.05483,
    "h": 7
  },
  "luminance": 0.01508
}

Semantic roles & 50–950 ramp

primary
#38161E
secondary
#3B6F63
accent
#D3B554
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#080303
muted
#7B7878

Preview Lab

Preview with #38161E

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

Preview Lab → · Contrast checker → · Palette generator →

#38161E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva