#2F0C02#2F0C02

#2F0C02 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.2% C 0.061 H 39.5°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#2F0C02
RGBrgb(47, 12, 2)
HSLhsl(13, 92%, 10%)
HSVhsv(13, 96%, 18%)
CMYKcmyk(0%, 74.5%, 95.7%, 81.6%)
CIE-LABlab(7.88, 17.12, 11.34)
CIE-LCHlch(7.88, 20.53, 33.53°)
OKLaboklab(21.23% 0.0472 0.0389)
OKLCHoklch(21.23% 0.061 39.5)
XYZxyz(1.3149, 0.8719, 0.1565)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C02 #02252F
analogous
#2F020F #2F0C02 #2F2302
triadic
#2F0C02 #022F0C #0C022F
tetradic
#2F0C02 #0F2F02 #02252F #23022F
square
#2F0C02 #0F2F02 #02252F #23022F
split-complementary
#2F0C02 #022F23 #020F2F
monochromatic
#1D0701 #1D0701 #2F0C02 #6A1B04 #A42A07

Accessibility & contrast

On white

17.88
#2F0C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F0C02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0C02
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C02#FFFFFF#000000##FFFFFF
##2F0C021.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161201
Deuteranopia (green-blind)
#1F1A01
Tritanopia (blue-blind)
#350409
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0c02;
/* rgb */ color: rgb(47, 12, 2);
/* oklch */ color: oklch(21.2% 0.061 39.5);
Tailwind
colors: {
  custom: {
    50: '#6a4c47',
    500: '#2f0c02',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c02;
$custom-light: #6a4c47;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c02",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 2
  },
  "hsl": {
    "h": 13.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21228,
    "c": 0.0612,
    "h": 39.5
  },
  "luminance": 0.00872
}

Semantic roles & 50–950 ramp

primary
#2F0C02
secondary
#196074
accent
#CFFF29
background
#F6F4F4
surface
#EBE7E6
border
#C6C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #2F0C02

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

Preview Lab → · Contrast checker → · Palette generator →

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