#2F1017#2F1017

#2F1017 is a very dark, muted red. Relative luminance 0.010; OKLCH L 22.5% C 0.051 H 8.0°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#2F1017
RGBrgb(47, 16, 23)
HSLhsl(346, 49%, 12%)
HSVhsv(346, 66%, 18%)
CMYKcmyk(0%, 66%, 51.1%, 81.6%)
CIE-LABlab(9.30, 16.73, 2.71)
CIE-LCHlch(9.30, 16.95, 9.20°)
OKLaboklab(22.46% 0.0508 0.0072)
OKLCHoklch(22.46% 0.051 8)
XYZxyz(1.5123, 1.0369, 0.9310)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1017 #102F28
analogous
#2F1026 #2F1017 #2F1910
triadic
#2F1017 #172F10 #10172F
tetradic
#2F1017 #262F10 #102F28 #19102F
square
#2F1017 #262F10 #102F28 #19102F
split-complementary
#2F1017 #102F19 #10262F
monochromatic
#17080B #17080B #2F1017 #5D202D #8A2F44

Accessibility & contrast

On white

17.39
#2F1017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2F1017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1017
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1017#FFFFFF#000000##FFFFFF
##2F10171.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161617
Deuteranopia (green-blind)
#1E1C16
Tritanopia (blue-blind)
#340D13
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f1017;
/* rgb */ color: rgb(47, 16, 23);
/* oklch */ color: oklch(22.5% 0.051 8.0);
Tailwind
colors: {
  custom: {
    50: '#694f53',
    500: '#2f1017',
    950: '#000000',
  },
}
SCSS
$custom: #2f1017;
$custom-light: #694f53;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1017",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 23
  },
  "hsl": {
    "h": 346.452,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22459,
    "c": 0.05132,
    "h": 8
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#2F1017
secondary
#33685C
accent
#D9BA4F
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060202
muted
#7A7878

Preview Lab

Preview with #2F1017

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

Preview Lab → · Contrast checker → · Palette generator →

#2F1017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva