#38151A#38151A

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

Color values

HEX#38151A
RGBrgb(56, 21, 26)
HSLhsl(351, 45%, 15%)
HSVhsv(351, 63%, 22%)
CMYKcmyk(0%, 62.5%, 53.6%, 78%)
CIE-LABlab(12.30, 18.00, 4.94)
CIE-LCHlch(12.30, 18.67, 15.35°)
OKLaboklab(25.09% 0.0545 0.0127)
OKLCHoklch(25.09% 0.056 13.1)
XYZxyz(2.0856, 1.4519, 1.1475)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38151A #153833
analogous
#38152B #38151A #382215
triadic
#38151A #1A3815 #151A38
tetradic
#38151A #2B3815 #153833 #221538
square
#38151A #2B3815 #153833 #221538
split-complementary
#38151A #153822 #152B38
monochromatic
#16080A #16080A #38151A #65262F #913643

Accessibility & contrast

On white

16.27
#38151A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38151A
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38151A#FFFFFF#000000##FFFFFF
##38151A1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1C1A
Deuteranopia (green-blind)
#252319
Tritanopia (blue-blind)
#3D1117
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #38151a;
/* rgb */ color: rgb(56, 21, 26);
/* oklch */ color: oklch(25.1% 0.056 13.1);
Tailwind
colors: {
  custom: {
    50: '#715356',
    500: '#38151a',
    950: '#000000',
  },
}
SCSS
$custom: #38151a;
$custom-light: #715356;
$custom-dark: #000000;
JSON
{
  "hex": "#38151a",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 26
  },
  "hsl": {
    "h": 351.429,
    "s": 45.455,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25093,
    "c": 0.05591,
    "h": 13.1
  },
  "luminance": 0.01452
}

Semantic roles & 50–950 ramp

primary
#38151A
secondary
#3A6F68
accent
#D5C253
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080203
muted
#7B7878

Preview Lab

Preview with #38151A

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

Preview Lab → · Contrast checker → · Palette generator →

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