#38151C#38151C

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

Color values

HEX#38151C
RGBrgb(56, 21, 28)
HSLhsl(348, 45%, 15%)
HSVhsv(348, 63%, 22%)
CMYKcmyk(0%, 62.5%, 50%, 78%)
CIE-LABlab(12.36, 18.26, 3.54)
CIE-LCHlch(12.36, 18.60, 10.98°)
OKLaboklab(25.16% 0.0554 0.0093)
OKLCHoklch(25.16% 0.056 9.5)
XYZxyz(2.1088, 1.4611, 1.2694)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38151C #153831
analogous
#38152D #38151C #381F15
triadic
#38151C #1C3815 #151C38
tetradic
#38151C #2D3815 #153831 #1F1538
square
#38151C #2D3815 #153831 #1F1538
split-complementary
#38151C #15381F #152D38
monochromatic
#16080B #16080B #38151C #652632 #913649

Accessibility & contrast

On white

16.25
#38151C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38151C
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38151C#FFFFFF#000000##FFFFFF
##38151C1.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38151c;
/* rgb */ color: rgb(56, 21, 28);
/* oklch */ color: oklch(25.2% 0.056 9.5);
Tailwind
colors: {
  custom: {
    50: '#715457',
    500: '#38151c',
    950: '#000000',
  },
}
SCSS
$custom: #38151c;
$custom-light: #715457;
$custom-dark: #000000;
JSON
{
  "hex": "#38151c",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 28
  },
  "hsl": {
    "h": 348,
    "s": 45.455,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25158,
    "c": 0.05618,
    "h": 9.5
  },
  "luminance": 0.01461
}

Semantic roles & 50–950 ramp

primary
#38151C
secondary
#3A6F65
accent
#D5BB53
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080203
muted
#7B7878

Preview Lab

Preview with #38151C

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

Preview Lab → · Contrast checker → · Palette generator →

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