#2F050E#2F050E

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

Color values

HEX#2F050E
RGBrgb(47, 5, 14)
HSLhsl(347, 81%, 10%)
HSVhsv(347, 89%, 18%)
CMYKcmyk(0%, 89.4%, 70.2%, 81.6%)
CIE-LABlab(6.73, 21.79, 4.59)
CIE-LCHlch(6.73, 22.27, 11.88°)
OKLaboklab(20.4% 0.0667 0.015)
OKLCHoklch(20.4% 0.068 12.7)
XYZxyz(1.3060, 0.7448, 0.4904)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F050E #052F26
analogous
#2F0523 #2F050E #2F1105
triadic
#2F050E #0E2F05 #050E2F
tetradic
#2F050E #232F05 #052F26 #11052F
square
#2F050E #232F05 #052F26 #11052F
split-complementary
#2F050E #052F11 #05232F
monochromatic
#1C0308 #1C0308 #2F050E #660B1E #9E112F

Accessibility & contrast

On white

18.28
#2F050E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F050E
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F050E#FFFFFF#000000##FFFFFF
##2F050E1.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100F0E
Deuteranopia (green-blind)
#1B180D
Tritanopia (blue-blind)
#340008
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f050e;
/* rgb */ color: rgb(47, 5, 14);
/* oklch */ color: oklch(20.4% 0.068 12.7);
Tailwind
colors: {
  custom: {
    50: '#6b494d',
    500: '#2f050e',
    950: '#000000',
  },
}
SCSS
$custom: #2f050e;
$custom-light: #6b494d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f050e",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 14
  },
  "hsl": {
    "h": 347.143,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20399,
    "c": 0.06838,
    "h": 12.7
  },
  "luminance": 0.00745
}

Semantic roles & 50–950 ramp

primary
#2F050E
secondary
#1F715F
accent
#F7CD31
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F050E

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

Preview Lab → · Contrast checker → · Palette generator →

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