#2F0304#2F0304

#2F0304 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 19.8% C 0.072 H 25.3°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#2F0304
RGBrgb(47, 3, 4)
HSLhsl(359, 88%, 10%)
HSVhsv(359, 94%, 18%)
CMYKcmyk(0%, 93.6%, 91.5%, 81.6%)
CIE-LABlab(6.13, 21.91, 7.97)
CIE-LCHlch(6.13, 23.32, 20.00°)
OKLaboklab(19.81% 0.0653 0.0309)
OKLCHoklch(19.81% 0.072 25.3)
XYZxyz(1.2269, 0.6784, 0.1812)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0304 #032F2E
analogous
#2F031A #2F0304 #2F1803
triadic
#2F0304 #042F03 #03042F
tetradic
#2F0304 #1A2F03 #032F2E #18032F
square
#2F0304 #1A2F03 #032F2E #18032F
split-complementary
#2F0304 #032F18 #031A2F
monochromatic
#1D0202 #1D0202 #2F0304 #690709 #A20A0E

Accessibility & contrast

On white

18.49
#2F0304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2F0304 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0304
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0304#FFFFFF#000000##FFFFFF
##2F03041.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100D04
Deuteranopia (green-blind)
#1B1703
Tritanopia (blue-blind)
#350004
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f0304;
/* rgb */ color: rgb(47, 3, 4);
/* oklch */ color: oklch(19.8% 0.072 25.3);
Tailwind
colors: {
  custom: {
    50: '#6b4748',
    500: '#2f0304',
    950: '#000000',
  },
}
SCSS
$custom: #2f0304;
$custom-light: #6b4748;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0304",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 4
  },
  "hsl": {
    "h": 358.636,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19808,
    "c": 0.07226,
    "h": 25.3
  },
  "luminance": 0.00678
}

Semantic roles & 50–950 ramp

primary
#2F0304
secondary
#1B7371
accent
#FEF92A
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070000
muted
#7A7777

Preview Lab

Preview with #2F0304

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

Preview Lab → · Contrast checker → · Palette generator →

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