#331018#331018

#331018 is a very dark, muted red. Relative luminance 0.011; OKLCH L 23.2% C 0.057 H 8.5°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#331018
RGBrgb(51, 16, 24)
HSLhsl(346, 52%, 13%)
HSVhsv(346, 69%, 20%)
CMYKcmyk(0%, 68.6%, 52.9%, 80%)
CIE-LABlab(10.11, 18.61, 3.22)
CIE-LCHlch(10.11, 18.89, 9.82°)
OKLaboklab(23.24% 0.0565 0.0084)
OKLCHoklch(23.24% 0.057 8.5)
XYZxyz(1.7155, 1.1405, 0.9938)
Luminance0.0114 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331018 #10332B
analogous
#331029 #331018 #331910
triadic
#331018 #183310 #101833
tetradic
#331018 #293310 #10332B #191033
square
#331018 #293310 #10332B #191033
split-complementary
#331018 #103319 #102933
monochromatic
#17070B #17070B #331018 #621F2E #902D44

Accessibility & contrast

On white

17.10
#331018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#331018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331018
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331018#FFFFFF#000000##FFFFFF
##3310181.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171718
Deuteranopia (green-blind)
#201E17
Tritanopia (blue-blind)
#380C13
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #331018;
/* rgb */ color: rgb(51, 16, 24);
/* oklch */ color: oklch(23.2% 0.057 8.5);
Tailwind
colors: {
  custom: {
    50: '#6d5054',
    500: '#331018',
    950: '#000000',
  },
}
SCSS
$custom: #331018;
$custom-light: #6d5054;
$custom-dark: #000000;
JSON
{
  "hex": "#331018",
  "rgb": {
    "r": 51,
    "g": 16,
    "b": 24
  },
  "hsl": {
    "h": 346.286,
    "s": 52.239,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23237,
    "c": 0.05716,
    "h": 8.5
  },
  "luminance": 0.0114
}

Semantic roles & 50–950 ramp

primary
#331018
secondary
#326C5F
accent
#DCBB4C
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #331018

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

Preview Lab → · Contrast checker → · Palette generator →

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