#2D050B#2D050B

#2D050B is a very dark, moderate red. Relative luminance 0.007; OKLCH L 19.9% C 0.066 H 16.2°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#2D050B
RGBrgb(45, 5, 11)
HSLhsl(351, 80%, 10%)
HSVhsv(351, 89%, 18%)
CMYKcmyk(0%, 88.9%, 75.6%, 82.4%)
CIE-LABlab(6.24, 20.47, 5.23)
CIE-LCHlch(6.24, 21.12, 14.32°)
OKLaboklab(19.87% 0.0631 0.0184)
OKLCHoklch(19.87% 0.066 16.2)
XYZxyz(1.1970, 0.6908, 0.3868)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D050B #052D27
analogous
#2D051F #2D050B #2D1305
triadic
#2D050B #0B2D05 #050B2D
tetradic
#2D050B #1F2D05 #052D27 #13052D
square
#2D050B #1F2D05 #052D27 #13052D
split-complementary
#2D050B #052D13 #051F2D
monochromatic
#1C0307 #1C0307 #2D050B #640B18 #9B1126

Accessibility & contrast

On white

18.45
#2D050B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D050B
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D050B#FFFFFF#000000##FFFFFF
##2D050B1.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0E0B
Deuteranopia (green-blind)
#1A170A
Tritanopia (blue-blind)
#320007
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d050b;
/* rgb */ color: rgb(45, 5, 11);
/* oklch */ color: oklch(19.9% 0.066 16.2);
Tailwind
colors: {
  custom: {
    50: '#69484c',
    500: '#2d050b',
    950: '#000000',
  },
}
SCSS
$custom: #2d050b;
$custom-light: #69484c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d050b",
  "rgb": {
    "r": 45,
    "g": 5,
    "b": 11
  },
  "hsl": {
    "h": 351,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.1987,
    "c": 0.06574,
    "h": 16.2
  },
  "luminance": 0.00691
}

Semantic roles & 50–950 ramp

primary
#2D050B
secondary
#1F6F63
accent
#F6D931
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2D050B

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

Preview Lab → · Contrast checker → · Palette generator →

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