#38050B#38050B

#38050B is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.3% C 0.079 H 19.9°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#38050B
RGBrgb(56, 5, 11)
HSLhsl(353, 84%, 12%)
HSVhsv(353, 91%, 22%)
CMYKcmyk(0%, 91.1%, 80.4%, 78%)
CIE-LABlab(8.77, 25.15, 9.22)
CIE-LCHlch(8.77, 26.79, 20.13°)
OKLaboklab(22.34% 0.0742 0.0269)
OKLCHoklch(22.34% 0.079 19.9)
XYZxyz(1.7458, 0.9737, 0.4126)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38050B #053832
analogous
#380525 #38050B #381905
triadic
#38050B #0B3805 #050B38
tetradic
#38050B #253805 #053832 #190538
square
#38050B #253805 #053832 #190538
split-complementary
#38050B #053819 #052538
monochromatic
#1C0306 #1C0306 #38050B #700A16 #A80F21

Accessibility & contrast

On white

17.58
#38050B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#38050B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38050B
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38050B#FFFFFF#000000##FFFFFF
##38050B1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14120B
Deuteranopia (green-blind)
#211D09
Tritanopia (blue-blind)
#3F0007
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #38050b;
/* rgb */ color: rgb(56, 5, 11);
/* oklch */ color: oklch(22.3% 0.079 19.9);
Tailwind
colors: {
  custom: {
    50: '#734a4b',
    500: '#38050b',
    950: '#000000',
  },
}
SCSS
$custom: #38050b;
$custom-light: #734a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#38050b",
  "rgb": {
    "r": 56,
    "g": 5,
    "b": 11
  },
  "hsl": {
    "h": 352.941,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22335,
    "c": 0.07895,
    "h": 19.9
  },
  "luminance": 0.00973
}

Semantic roles & 50–950 ramp

primary
#38050B
secondary
#20796F
accent
#FAE22E
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #38050B

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

Preview Lab → · Contrast checker → · Palette generator →

#38050B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva