#2F0303#2F0303

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

Color values

HEX#2F0303
RGBrgb(47, 3, 3)
HSLhsl(0, 88%, 10%)
HSVhsv(0, 94%, 18%)
CMYKcmyk(0%, 93.6%, 93.6%, 81.6%)
CIE-LABlab(6.11, 21.82, 8.35)
CIE-LCHlch(6.11, 23.36, 20.95°)
OKLaboklab(19.78% 0.0646 0.033)
OKLCHoklch(19.78% 0.073 27)
XYZxyz(1.2214, 0.6762, 0.1523)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0303 #032F2F
analogous
#2F0319 #2F0303 #2F1903
triadic
#2F0303 #032F03 #03032F
tetradic
#2F0303 #192F03 #032F2F #19032F
square
#2F0303 #192F03 #032F2F #19032F
split-complementary
#2F0303 #032F19 #03192F
monochromatic
#1D0202 #1D0202 #2F0303 #690707 #A20A0A

Accessibility & contrast

On white

18.50
#2F0303 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0303
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0303#FFFFFF#000000##FFFFFF
##2F03031.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100D03
Deuteranopia (green-blind)
#1B1702
Tritanopia (blue-blind)
#350003
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f0303;
/* rgb */ color: rgb(47, 3, 3);
/* oklch */ color: oklch(19.8% 0.073 27.0);
Tailwind
colors: {
  custom: {
    50: '#6b4748',
    500: '#2f0303',
    950: '#000000',
  },
}
SCSS
$custom: #2f0303;
$custom-light: #6b4748;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0303",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 3
  },
  "hsl": {
    "h": 0,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19783,
    "c": 0.07251,
    "h": 27
  },
  "luminance": 0.00676
}

Semantic roles & 50–950 ramp

primary
#2F0303
secondary
#1B7373
accent
#FEFE2A
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070000
muted
#7A7777

Preview Lab

Preview with #2F0303

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

Preview Lab → · Contrast checker → · Palette generator →

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