#2F0107#2F0107

#2F0107 is a very dark, moderate red. Relative luminance 0.006; OKLCH L 19.5% C 0.076 H 18.6°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#2F0107
RGBrgb(47, 1, 7)
HSLhsl(352, 96%, 9%)
HSVhsv(352, 98%, 18%)
CMYKcmyk(0%, 97.9%, 85.1%, 81.6%)
CIE-LABlab(5.80, 23.17, 6.27)
CIE-LCHlch(5.80, 24.01, 15.13°)
OKLaboklab(19.53% 0.0716 0.024)
OKLCHoklch(19.53% 0.076 18.6)
XYZxyz(1.2216, 0.6416, 0.2605)
Luminance0.0064 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0107 #012F29
analogous
#2F011E #2F0107 #2F1201
triadic
#2F0107 #072F01 #01072F
tetradic
#2F0107 #1E2F01 #012F29 #12012F
square
#2F0107 #1E2F01 #012F29 #12012F
split-complementary
#2F0107 #012F12 #011E2F
monochromatic
#1E0104 #1E0104 #2F0107 #6B0210 #A70419

Accessibility & contrast

On white

18.61
#2F0107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0107
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0107#FFFFFF#000000##FFFFFF
##2F01071.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0C07
Deuteranopia (green-blind)
#1A1606
Tritanopia (blue-blind)
#350003
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2f0107;
/* rgb */ color: rgb(47, 1, 7);
/* oklch */ color: oklch(19.5% 0.076 18.6);
Tailwind
colors: {
  custom: {
    50: '#6b464a',
    500: '#2f0107',
    950: '#000000',
  },
}
SCSS
$custom: #2f0107;
$custom-light: #6b464a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0107",
  "rgb": {
    "r": 47,
    "g": 1,
    "b": 7
  },
  "hsl": {
    "h": 352.174,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19532,
    "c": 0.07552,
    "h": 18.6
  },
  "luminance": 0.00641
}

Semantic roles & 50–950 ramp

primary
#2F0107
secondary
#177569
accent
#FFE329
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F0107

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

Preview Lab → · Contrast checker → · Palette generator →

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