#2D050C#2D050C

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

Color values

HEX#2D050C
RGBrgb(45, 5, 12)
HSLhsl(350, 80%, 10%)
HSVhsv(350, 89%, 18%)
CMYKcmyk(0%, 88.9%, 73.3%, 82.4%)
CIE-LABlab(6.26, 20.57, 4.81)
CIE-LCHlch(6.26, 21.12, 13.17°)
OKLaboklab(19.9% 0.0636 0.0167)
OKLCHoklch(19.9% 0.066 14.7)
XYZxyz(1.2029, 0.6931, 0.4182)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D050C #052D26
analogous
#2D0520 #2D050C #2D1205
triadic
#2D050C #0C2D05 #050C2D
tetradic
#2D050C #202D05 #052D26 #12052D
square
#2D050C #202D05 #052D26 #12052D
split-complementary
#2D050C #052D12 #05202D
monochromatic
#1C0307 #1C0307 #2D050C #640B1B #9B1129

Accessibility & contrast

On white

18.44
#2D050C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D050C
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D050C#FFFFFF#000000##FFFFFF
##2D050C1.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d050c;
/* rgb */ color: rgb(45, 5, 12);
/* oklch */ color: oklch(19.9% 0.066 14.7);
Tailwind
colors: {
  custom: {
    50: '#69484c',
    500: '#2d050c',
    950: '#000000',
  },
}
SCSS
$custom: #2d050c;
$custom-light: #69484c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d050c",
  "rgb": {
    "r": 45,
    "g": 5,
    "b": 12
  },
  "hsl": {
    "h": 349.5,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19897,
    "c": 0.06578,
    "h": 14.7
  },
  "luminance": 0.00693
}

Semantic roles & 50–950 ramp

primary
#2D050C
secondary
#1F6F61
accent
#F6D431
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2D050C

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

Preview Lab → · Contrast checker → · Palette generator →

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