#2F050A#2F050A

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

Color values

HEX#2F050A
RGBrgb(47, 5, 10)
HSLhsl(353, 81%, 10%)
HSVhsv(353, 89%, 18%)
CMYKcmyk(0%, 89.4%, 78.7%, 81.6%)
CIE-LABlab(6.64, 21.42, 6.28)
CIE-LCHlch(6.64, 22.32, 16.33°)
OKLaboklab(20.29% 0.0647 0.0216)
OKLCHoklch(20.29% 0.068 18.4)
XYZxyz(1.2815, 0.7350, 0.3615)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F050A #052F2A
analogous
#2F051F #2F050A #2F1505
triadic
#2F050A #0A2F05 #050A2F
tetradic
#2F050A #1F2F05 #052F2A #15052F
square
#2F050A #1F2F05 #052F2A #15052F
split-complementary
#2F050A #052F15 #051F2F
monochromatic
#1C0306 #1C0306 #2F050A #660B16 #9E1122

Accessibility & contrast

On white

18.31
#2F050A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F050A
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F050A#FFFFFF#000000##FFFFFF
##2F050A1.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f050a;
/* rgb */ color: rgb(47, 5, 10);
/* oklch */ color: oklch(20.3% 0.068 18.4);
Tailwind
colors: {
  custom: {
    50: '#6b494b',
    500: '#2f050a',
    950: '#000000',
  },
}
SCSS
$custom: #2f050a;
$custom-light: #6b494b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f050a",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 10
  },
  "hsl": {
    "h": 352.857,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20293,
    "c": 0.06823,
    "h": 18.4
  },
  "luminance": 0.00735
}

Semantic roles & 50–950 ramp

primary
#2F050A
secondary
#1F7167
accent
#F7E031
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F050A

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

Preview Lab → · Contrast checker → · Palette generator →

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