#2F0907#2F0907

#2F0907 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.9% C 0.063 H 27.3°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#2F0907
RGBrgb(47, 9, 7)
HSLhsl(3, 74%, 11%)
HSVhsv(3, 85%, 18%)
CMYKcmyk(0%, 80.9%, 85.1%, 81.6%)
CIE-LABlab(7.36, 19.13, 8.56)
CIE-LCHlch(7.36, 20.96, 24.10°)
OKLaboklab(20.86% 0.0556 0.0287)
OKLCHoklch(20.86% 0.063 27.3)
XYZxyz(1.3085, 0.8152, 0.2894)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0907 #072D2F
analogous
#2F0719 #2F0907 #2F1D07
triadic
#2F0907 #072F09 #09072F
tetradic
#2F0907 #192F07 #072D2F #1D072F
square
#2F0907 #192F07 #072D2F #1D072F
split-complementary
#2F0907 #072F1D #07192F
monochromatic
#1B0504 #1B0504 #2F0907 #64130F #9A1D17

Accessibility & contrast

On white

18.06
#2F0907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2F0907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0907
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0907#FFFFFF#000000##FFFFFF
##2F09071.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141107
Deuteranopia (green-blind)
#1D1906
Tritanopia (blue-blind)
#350209
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0907;
/* rgb */ color: rgb(47, 9, 7);
/* oklch */ color: oklch(20.9% 0.063 27.3);
Tailwind
colors: {
  custom: {
    50: '#6b4b4a',
    500: '#2f0907',
    950: '#000000',
  },
}
SCSS
$custom: #2f0907;
$custom-light: #6b4b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0907",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 7
  },
  "hsl": {
    "h": 3,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20863,
    "c": 0.06262,
    "h": 27.3
  },
  "luminance": 0.00815
}

Semantic roles & 50–950 ramp

primary
#2F0907
secondary
#236B6F
accent
#E7F137
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F0907

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

Preview Lab → · Contrast checker → · Palette generator →

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