#2F080C#2F080C

#2F080C is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.8% C 0.063 H 18.7°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#2F080C
RGBrgb(47, 8, 12)
HSLhsl(354, 71%, 11%)
HSVhsv(354, 83%, 18%)
CMYKcmyk(0%, 83%, 74.5%, 81.6%)
CIE-LABlab(7.27, 20.06, 6.33)
CIE-LCHlch(7.27, 21.03, 17.53°)
OKLaboklab(20.82% 0.06 0.0203)
OKLCHoklch(20.82% 0.063 18.7)
XYZxyz(1.3256, 0.8047, 0.4333)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F080C #082F2B
analogous
#2F081F #2F080C #2F1708
triadic
#2F080C #0C2F08 #080C2F
tetradic
#2F080C #1F2F08 #082F2B #17082F
square
#2F080C #1F2F08 #082F2B #17082F
split-complementary
#2F080C #082F17 #081F2F
monochromatic
#1A0407 #1A0407 #2F080C #631119 #981A27

Accessibility & contrast

On white

18.09
#2F080C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2F080C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F080C
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F080C#FFFFFF#000000##FFFFFF
##2F080C1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12110C
Deuteranopia (green-blind)
#1C190B
Tritanopia (blue-blind)
#34020A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f080c;
/* rgb */ color: rgb(47, 8, 12);
/* oklch */ color: oklch(20.8% 0.063 18.7);
Tailwind
colors: {
  custom: {
    50: '#6b4a4c',
    500: '#2f080c',
    950: '#000000',
  },
}
SCSS
$custom: #2f080c;
$custom-light: #6b4a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f080c",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 12
  },
  "hsl": {
    "h": 353.846,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20822,
    "c": 0.06335,
    "h": 18.7
  },
  "luminance": 0.00805
}

Semantic roles & 50–950 ramp

primary
#2F080C
secondary
#256E66
accent
#EEDB3A
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F080C

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

Preview Lab → · Contrast checker → · Palette generator →

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