#2F0912#2F0912

#2F0912 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.1% C 0.062 H 10.0°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#2F0912
RGBrgb(47, 9, 18)
HSLhsl(346, 68%, 11%)
HSVhsv(346, 81%, 18%)
CMYKcmyk(0%, 80.9%, 61.7%, 81.6%)
CIE-LABlab(7.62, 20.15, 3.67)
CIE-LCHlch(7.62, 20.48, 10.31°)
OKLaboklab(21.15% 0.0612 0.0108)
OKLCHoklch(21.15% 0.062 10)
XYZxyz(1.3793, 0.8436, 0.6623)
Luminance0.0084 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0912 #092F26
analogous
#2F0925 #2F0912 #2F1309
triadic
#2F0912 #122F09 #09122F
tetradic
#2F0912 #252F09 #092F26 #13092F
square
#2F0912 #252F09 #092F26 #13092F
split-complementary
#2F0912 #092F13 #09252F
monochromatic
#1A050A #1A050A #2F0912 #621326 #961D39

Accessibility & contrast

On white

17.97
#2F0912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F0912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0912
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0912#FFFFFF#000000##FFFFFF
##2F09121.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121212
Deuteranopia (green-blind)
#1C1A11
Tritanopia (blue-blind)
#34040D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0912;
/* rgb */ color: rgb(47, 9, 18);
/* oklch */ color: oklch(21.1% 0.062 10.0);
Tailwind
colors: {
  custom: {
    50: '#6a4b4f',
    500: '#2f0912',
    950: '#000000',
  },
}
SCSS
$custom: #2f0912;
$custom-light: #6a4b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0912",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 18
  },
  "hsl": {
    "h": 345.789,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21149,
    "c": 0.06215,
    "h": 10
  },
  "luminance": 0.00843
}

Semantic roles & 50–950 ramp

primary
#2F0912
secondary
#276D5C
accent
#EBC23D
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0912

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

Preview Lab → · Contrast checker → · Palette generator →

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