#380304#380304

#380304 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.9% C 0.083 H 26.3°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#380304
RGBrgb(56, 3, 4)
HSLhsl(359, 90%, 12%)
HSVhsv(359, 95%, 22%)
CMYKcmyk(0%, 94.6%, 92.9%, 78%)
CIE-LABlab(8.26, 25.81, 11.34)
CIE-LCHlch(8.26, 28.20, 23.72°)
OKLaboklab(21.92% 0.074 0.0366)
OKLCHoklch(21.92% 0.083 26.3)
XYZxyz(1.6856, 0.9149, 0.2027)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380304 #033837
analogous
#38031F #380304 #381D03
triadic
#380304 #043803 #030438
tetradic
#380304 #1F3803 #033837 #1D0338
square
#380304 #1F3803 #033837 #1D0338
split-complementary
#380304 #03381D #031F38
monochromatic
#1D0202 #1D0202 #380304 #720608 #AC090C

Accessibility & contrast

On white

17.75
#380304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#380304 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380304
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380304#FFFFFF#000000##FFFFFF
##3803041.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131004
Deuteranopia (green-blind)
#211C02
Tritanopia (blue-blind)
#3F0004
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #380304;
/* rgb */ color: rgb(56, 3, 4);
/* oklch */ color: oklch(21.9% 0.083 26.3);
Tailwind
colors: {
  custom: {
    50: '#734948',
    500: '#380304',
    950: '#000000',
  },
}
SCSS
$custom: #380304;
$custom-light: #734948;
$custom-dark: #000000;
JSON
{
  "hex": "#380304",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 4
  },
  "hsl": {
    "h": 358.868,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21916,
    "c": 0.08256,
    "h": 26.3
  },
  "luminance": 0.00915
}

Semantic roles & 50–950 ramp

primary
#380304
secondary
#1C7B79
accent
#FFFB29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#090100
muted
#7B7777

Preview Lab

Preview with #380304

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

Preview Lab → · Contrast checker → · Palette generator →

#380304 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva