#2D010C#2D010C

#2D010C is a very dark, moderate red. Relative luminance 0.006; OKLCH L 19.2% C 0.074 H 10.7°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#2D010C
RGBrgb(45, 1, 12)
HSLhsl(345, 96%, 9%)
HSVhsv(345, 98%, 18%)
CMYKcmyk(0%, 97.8%, 73.3%, 82.4%)
CIE-LABlab(5.48, 22.53, 3.67)
CIE-LCHlch(5.48, 22.83, 9.25°)
OKLaboklab(19.19% 0.0725 0.0137)
OKLCHoklch(19.19% 0.074 10.7)
XYZxyz(1.1595, 0.6063, 0.4037)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D010C #012D22
analogous
#2D0122 #2D010C #2D0C01
triadic
#2D010C #0C2D01 #010C2D
tetradic
#2D010C #222D01 #012D22 #0C012D
square
#2D010C #222D01 #012D22 #0C012D
split-complementary
#2D010C #012D0C #01222D
monochromatic
#1E0108 #1E0108 #2D010C #69021C #A5042C

Accessibility & contrast

On white

18.73
#2D010C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2D010C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D010C
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D010C#FFFFFF#000000##FFFFFF
##2D010C1.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0C0C
Deuteranopia (green-blind)
#18150B
Tritanopia (blue-blind)
#320005
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2d010c;
/* rgb */ color: rgb(45, 1, 12);
/* oklch */ color: oklch(19.2% 0.074 10.7);
Tailwind
colors: {
  custom: {
    50: '#69464c',
    500: '#2d010c',
    950: '#000000',
  },
}
SCSS
$custom: #2d010c;
$custom-light: #69464c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d010c",
  "rgb": {
    "r": 45,
    "g": 1,
    "b": 12
  },
  "hsl": {
    "h": 345,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19186,
    "c": 0.07376,
    "h": 10.7
  },
  "luminance": 0.00606
}

Semantic roles & 50–950 ramp

primary
#2D010C
secondary
#17735C
accent
#FFC929
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2D010C

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

Preview Lab → · Contrast checker → · Palette generator →

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