#6F171B#6F171B

#6F171B is a dark, vivid red. Relative luminance 0.041; OKLCH L 35.9% C 0.122 H 23.7°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#6F171B
RGBrgb(111, 23, 27)
HSLhsl(357, 66%, 26%)
HSVhsv(357, 79%, 44%)
CMYKcmyk(0%, 79.3%, 75.7%, 56.5%)
CIE-LABlab(23.91, 38.16, 21.39)
CIE-LCHlch(23.91, 43.75, 29.27°)
OKLaboklab(35.88% 0.1113 0.0488)
OKLCHoklch(35.88% 0.122 23.7)
XYZxyz(7.0606, 4.0725, 1.4510)
Luminance0.0407 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F171B #176F6B
analogous
#6F1747 #6F171B #6F3F17
triadic
#6F171B #1B6F17 #171B6F
tetradic
#6F171B #476F17 #176F6B #3F176F
square
#6F171B #476F17 #176F6B #3F176F
split-complementary
#6F171B #176F3F #17476F
monochromatic
#190506 #3C0C0F #6F171B #A22227 #D32D34

Accessibility & contrast

On white

11.58
#6F171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#6F171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F171B
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F171B#FFFFFF#000000##FFFFFF
##6F171B1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1A
Deuteranopia (green-blind)
#474018
Tritanopia (blue-blind)
#7B0019
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6f171b;
/* rgb */ color: rgb(111, 23, 27);
/* oklch */ color: oklch(35.9% 0.122 23.7);
Tailwind
colors: {
  custom: {
    50: '#9f5c57',
    500: '#6f171b',
    950: '#000000',
  },
}
SCSS
$custom: #6f171b;
$custom-light: #9f5c57;
$custom-dark: #000000;
JSON
{
  "hex": "#6f171b",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 357.273,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35883,
    "c": 0.12153,
    "h": 23.7
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#6F171B
secondary
#3DA5A0
accent
#E9E13F
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#100403
muted
#7F7978

Preview Lab

Preview with #6F171B

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

Preview Lab → · Contrast checker → · Palette generator →

#6F171B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva