#2F010C#2F010C

#2F010C is a very dark, moderate red. Relative luminance 0.007; OKLCH L 19.7% C 0.076 H 11.8°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#2F010C
RGBrgb(47, 1, 12)
HSLhsl(346, 96%, 9%)
HSVhsv(346, 98%, 18%)
CMYKcmyk(0%, 97.9%, 74.5%, 81.6%)
CIE-LABlab(5.90, 23.63, 4.33)
CIE-LCHlch(5.90, 24.02, 10.39°)
OKLaboklab(19.66% 0.0742 0.0155)
OKLCHoklch(19.66% 0.076 11.8)
XYZxyz(1.2496, 0.6528, 0.4080)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F010C #012F24
analogous
#2F0123 #2F010C #2F0D01
triadic
#2F010C #0C2F01 #010C2F
tetradic
#2F010C #232F01 #012F24 #0D012F
square
#2F010C #232F01 #012F24 #0D012F
split-complementary
#2F010C #012F0D #01232F
monochromatic
#1E0108 #1E0108 #2F010C #6B021B #A7042B

Accessibility & contrast

On white

18.57
#2F010C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2F010C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F010C
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F010C#FFFFFF#000000##FFFFFF
##2F010C1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0D0C
Deuteranopia (green-blind)
#19170B
Tritanopia (blue-blind)
#350005
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2f010c;
/* rgb */ color: rgb(47, 1, 12);
/* oklch */ color: oklch(19.7% 0.076 11.8);
Tailwind
colors: {
  custom: {
    50: '#6b464c',
    500: '#2f010c',
    950: '#000000',
  },
}
SCSS
$custom: #2f010c;
$custom-light: #6b464c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f010c",
  "rgb": {
    "r": 47,
    "g": 1,
    "b": 12
  },
  "hsl": {
    "h": 345.652,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19664,
    "c": 0.07579,
    "h": 11.8
  },
  "luminance": 0.00653
}

Semantic roles & 50–950 ramp

primary
#2F010C
secondary
#17755E
accent
#FFCC29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F010C

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

Preview Lab → · Contrast checker → · Palette generator →

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