#2F050B#2F050B

#2F050B is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.3% C 0.068 H 17.0°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#2F050B
RGBrgb(47, 5, 11)
HSLhsl(351, 81%, 10%)
HSVhsv(351, 89%, 18%)
CMYKcmyk(0%, 89.4%, 76.6%, 81.6%)
CIE-LABlab(6.66, 21.51, 5.89)
CIE-LCHlch(6.66, 22.30, 15.31°)
OKLaboklab(20.32% 0.0652 0.02)
OKLCHoklch(20.32% 0.068 17)
XYZxyz(1.2871, 0.7372, 0.3911)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F050B #052F29
analogous
#2F0520 #2F050B #2F1405
triadic
#2F050B #0B2F05 #050B2F
tetradic
#2F050B #202F05 #052F29 #14052F
square
#2F050B #202F05 #052F29 #14052F
split-complementary
#2F050B #052F14 #05202F
monochromatic
#1C0306 #1C0306 #2F050B #660B18 #9E1125

Accessibility & contrast

On white

18.30
#2F050B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2F050B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F050B
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F050B#FFFFFF#000000##FFFFFF
##2F050B1.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100F0B
Deuteranopia (green-blind)
#1B180A
Tritanopia (blue-blind)
#350007
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f050b;
/* rgb */ color: rgb(47, 5, 11);
/* oklch */ color: oklch(20.3% 0.068 17.0);
Tailwind
colors: {
  custom: {
    50: '#6b494c',
    500: '#2f050b',
    950: '#000000',
  },
}
SCSS
$custom: #2f050b;
$custom-light: #6b494c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f050b",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 11
  },
  "hsl": {
    "h": 351.429,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20317,
    "c": 0.06821,
    "h": 17
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#2F050B
secondary
#1F7165
accent
#F7DB31
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F050B

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

Preview Lab → · Contrast checker → · Palette generator →

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