#2F050F#2F050F

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

Color values

HEX#2F050F
RGBrgb(47, 5, 15)
HSLhsl(346, 81%, 10%)
HSVhsv(346, 89%, 18%)
CMYKcmyk(0%, 89.4%, 68.1%, 81.6%)
CIE-LABlab(6.75, 21.90, 4.11)
CIE-LCHlch(6.75, 22.28, 10.62°)
OKLaboklab(20.43% 0.0672 0.0132)
OKLCHoklch(20.43% 0.069 11.1)
XYZxyz(1.3129, 0.7476, 0.5270)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F050F #052F25
analogous
#2F0524 #2F050F #2F1005
triadic
#2F050F #0F2F05 #050F2F
tetradic
#2F050F #242F05 #052F25 #10052F
square
#2F050F #242F05 #052F25 #10052F
split-complementary
#2F050F #052F10 #05242F
monochromatic
#1C0309 #1C0309 #2F050F #660B21 #9E1132

Accessibility & contrast

On white

18.27
#2F050F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F050F
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F050F#FFFFFF#000000##FFFFFF
##2F050F1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0F0F
Deuteranopia (green-blind)
#1B180E
Tritanopia (blue-blind)
#340009
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f050f;
/* rgb */ color: rgb(47, 5, 15);
/* oklch */ color: oklch(20.4% 0.069 11.1);
Tailwind
colors: {
  custom: {
    50: '#6b494e',
    500: '#2f050f',
    950: '#000000',
  },
}
SCSS
$custom: #2f050f;
$custom-light: #6b494e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f050f",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 15
  },
  "hsl": {
    "h": 345.714,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20429,
    "c": 0.0685,
    "h": 11.1
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#2F050F
secondary
#1F715D
accent
#F7C831
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F050F

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

Preview Lab → · Contrast checker → · Palette generator →

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