#2F060C#2F060C

#2F060C is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.5% C 0.067 H 16.6°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#2F060C
RGBrgb(47, 6, 12)
HSLhsl(351, 77%, 10%)
HSVhsv(351, 87%, 18%)
CMYKcmyk(0%, 87.2%, 74.5%, 81.6%)
CIE-LABlab(6.88, 21.09, 5.76)
CIE-LCHlch(6.88, 21.86, 15.29°)
OKLaboklab(20.51% 0.0638 0.019)
OKLCHoklch(20.51% 0.067 16.6)
XYZxyz(1.3039, 0.7613, 0.4260)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F060C #062F29
analogous
#2F0620 #2F060C #2F1506
triadic
#2F060C #0C2F06 #060C2F
tetradic
#2F060C #202F06 #062F29 #15062F
square
#2F060C #202F06 #062F29 #15062F
split-complementary
#2F060C #062F15 #06202F
monochromatic
#1B0307 #1B0307 #2F060C #650D1A #9C1428

Accessibility & contrast

On white

18.23
#2F060C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F060C
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F060C#FFFFFF#000000##FFFFFF
##2F060C1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11100C
Deuteranopia (green-blind)
#1B180B
Tritanopia (blue-blind)
#340008
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f060c;
/* rgb */ color: rgb(47, 6, 12);
/* oklch */ color: oklch(20.5% 0.067 16.6);
Tailwind
colors: {
  custom: {
    50: '#6b494c',
    500: '#2f060c',
    950: '#000000',
  },
}
SCSS
$custom: #2f060c;
$custom-light: #6b494c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f060c",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 12
  },
  "hsl": {
    "h": 351.22,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20505,
    "c": 0.06654,
    "h": 16.6
  },
  "luminance": 0.00761
}

Semantic roles & 50–950 ramp

primary
#2F060C
secondary
#217064
accent
#F4D834
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F060C

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

Preview Lab → · Contrast checker → · Palette generator →

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