#2F030C#2F030C

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

Color values

HEX#2F030C
RGBrgb(47, 3, 12)
HSLhsl(348, 88%, 10%)
HSVhsv(348, 94%, 18%)
CMYKcmyk(0%, 93.6%, 74.5%, 81.6%)
CIE-LABlab(6.29, 22.62, 4.90)
CIE-LCHlch(6.29, 23.14, 12.23°)
OKLaboklab(20.01% 0.0698 0.017)
OKLCHoklch(20.01% 0.072 13.7)
XYZxyz(1.2713, 0.6962, 0.4152)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F030C #032F26
analogous
#2F0322 #2F030C #2F1003
triadic
#2F030C #0C2F03 #030C2F
tetradic
#2F030C #222F03 #032F26 #10032F
square
#2F030C #222F03 #032F26 #10032F
split-complementary
#2F030C #032F10 #03222F
monochromatic
#1D0207 #1D0207 #2F030C #69071B #A20A29

Accessibility & contrast

On white

18.43
#2F030C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F030C
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F030C#FFFFFF#000000##FFFFFF
##2F030C1.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0E0C
Deuteranopia (green-blind)
#1A170B
Tritanopia (blue-blind)
#340006
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f030c;
/* rgb */ color: rgb(47, 3, 12);
/* oklch */ color: oklch(20.0% 0.072 13.7);
Tailwind
colors: {
  custom: {
    50: '#6b474c',
    500: '#2f030c',
    950: '#000000',
  },
}
SCSS
$custom: #2f030c;
$custom-light: #6b474c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f030c",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 12
  },
  "hsl": {
    "h": 347.727,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20009,
    "c": 0.07185,
    "h": 13.7
  },
  "luminance": 0.00696
}

Semantic roles & 50–950 ramp

primary
#2F030C
secondary
#1B7361
accent
#FED32A
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F030C

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

Preview Lab → · Contrast checker → · Palette generator →

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