#2F050C#2F050C

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

Color values

HEX#2F050C
RGBrgb(47, 5, 12)
HSLhsl(350, 81%, 10%)
HSVhsv(350, 89%, 18%)
CMYKcmyk(0%, 89.4%, 74.5%, 81.6%)
CIE-LABlab(6.68, 21.60, 5.48)
CIE-LCHlch(6.68, 22.28, 14.23°)
OKLaboklab(20.34% 0.0657 0.0184)
OKLCHoklch(20.34% 0.068 15.6)
XYZxyz(1.2931, 0.7396, 0.4224)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F050C #052F28
analogous
#2F0521 #2F050C #2F1305
triadic
#2F050C #0C2F05 #050C2F
tetradic
#2F050C #212F05 #052F28 #13052F
square
#2F050C #212F05 #052F28 #13052F
split-complementary
#2F050C #052F13 #05212F
monochromatic
#1C0307 #1C0307 #2F050C #660B1A #9E1128

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F050C#FFFFFF#000000##FFFFFF
##2F050C1.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)
#100F0C
Deuteranopia (green-blind)
#1B180B
Tritanopia (blue-blind)
#340008
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f050c;
/* rgb */ color: rgb(47, 5, 12);
/* oklch */ color: oklch(20.3% 0.068 15.6);
Tailwind
colors: {
  custom: {
    50: '#6b494c',
    500: '#2f050c',
    950: '#000000',
  },
}
SCSS
$custom: #2f050c;
$custom-light: #6b494c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f050c",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 12
  },
  "hsl": {
    "h": 350,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20343,
    "c": 0.06824,
    "h": 15.6
  },
  "luminance": 0.00739
}

Semantic roles & 50–950 ramp

primary
#2F050C
secondary
#1F7163
accent
#F7D631
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F050C

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

Preview Lab → · Contrast checker → · Palette generator →

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