#2F1217#2F1217

#2F1217 is a very dark, muted red. Relative luminance 0.011; OKLCH L 22.8% C 0.048 H 10.8°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#2F1217
RGBrgb(47, 18, 23)
HSLhsl(350, 45%, 13%)
HSVhsv(350, 62%, 18%)
CMYKcmyk(0%, 61.7%, 51.1%, 81.6%)
CIE-LABlab(9.79, 15.45, 3.42)
CIE-LCHlch(9.79, 15.82, 12.47°)
OKLaboklab(22.83% 0.0468 0.0089)
OKLCHoklch(22.83% 0.048 10.8)
XYZxyz(1.5433, 1.0990, 0.9413)
Luminance0.0110 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1217 #122F2A
analogous
#2F1225 #2F1217 #2F1B12
triadic
#2F1217 #172F12 #12172F
tetradic
#2F1217 #252F12 #122F2A #1B122F
square
#2F1217 #252F12 #122F2A #1B122F
split-complementary
#2F1217 #122F1B #12252F
monochromatic
#16080B #16080B #2F1217 #5B232D #883442

Accessibility & contrast

On white

17.22
#2F1217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2F1217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1217
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1217#FFFFFF#000000##FFFFFF
##2F12171.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181817
Deuteranopia (green-blind)
#1F1D16
Tritanopia (blue-blind)
#330F14
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f1217;
/* rgb */ color: rgb(47, 18, 23);
/* oklch */ color: oklch(22.8% 0.048 10.8);
Tailwind
colors: {
  custom: {
    50: '#695153',
    500: '#2f1217',
    950: '#000000',
  },
}
SCSS
$custom: #2f1217;
$custom-light: #695153;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1217",
  "rgb": {
    "r": 47,
    "g": 18,
    "b": 23
  },
  "hsl": {
    "h": 349.655,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22832,
    "c": 0.04768,
    "h": 10.8
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#2F1217
secondary
#36675E
accent
#D4BE53
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060202
muted
#7A7878

Preview Lab

Preview with #2F1217

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

Preview Lab → · Contrast checker → · Palette generator →

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