#320504#320504

#320504 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.8% C 0.073 H 27.7°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#320504
RGBrgb(50, 5, 4)
HSLhsl(1, 85%, 11%)
HSVhsv(1, 92%, 20%)
CMYKcmyk(0%, 90%, 92%, 80.4%)
CIE-LABlab(7.19, 22.38, 9.60)
CIE-LCHlch(7.19, 24.35, 23.22°)
OKLaboklab(20.83% 0.0644 0.0338)
OKLCHoklch(20.83% 0.073 27.7)
XYZxyz(1.3917, 0.7956, 0.1951)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320504 #043132
analogous
#32041A #320504 #321C04
triadic
#320504 #043205 #050432
tetradic
#320504 #1A3204 #043132 #1C0432
square
#320504 #1A3204 #043132 #1C0432
split-complementary
#320504 #04321C #041A32
monochromatic
#1C0302 #1C0302 #320504 #6B0B09 #A3100D

Accessibility & contrast

On white

18.12
#320504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#320504 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320504
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320504#FFFFFF#000000##FFFFFF
##3205041.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F04
Deuteranopia (green-blind)
#1E1903
Tritanopia (blue-blind)
#380005
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #320504;
/* rgb */ color: rgb(50, 5, 4);
/* oklch */ color: oklch(20.8% 0.073 27.7);
Tailwind
colors: {
  custom: {
    50: '#6e4948',
    500: '#320504',
    950: '#000000',
  },
}
SCSS
$custom: #320504;
$custom-light: #6e4948;
$custom-dark: #000000;
JSON
{
  "hex": "#320504",
  "rgb": {
    "r": 50,
    "g": 5,
    "b": 4
  },
  "hsl": {
    "h": 1.304,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20831,
    "c": 0.07278,
    "h": 27.7
  },
  "luminance": 0.00795
}

Semantic roles & 50–950 ramp

primary
#320504
secondary
#1D7274
accent
#F7FB2C
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #320504

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

Preview Lab → · Contrast checker → · Palette generator →

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