#2A0208#2A0208

#2A0208 is a very dark, moderate red. Relative luminance 0.006; OKLCH L 18.5% C 0.068 H 16.1°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#2A0208
RGBrgb(42, 2, 8)
HSLhsl(351, 91%, 9%)
HSVhsv(351, 95%, 16%)
CMYKcmyk(0%, 95.2%, 81%, 83.5%)
CIE-LABlab(5.00, 19.80, 4.57)
CIE-LCHlch(5.00, 20.32, 13.00°)
OKLaboklab(18.55% 0.0653 0.0188)
OKLCHoklch(18.55% 0.068 16.1)
XYZxyz(1.0205, 0.5533, 0.2828)
Luminance0.0055 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0208 #022A24
analogous
#2A021C #2A0208 #2A1002
triadic
#2A0208 #082A02 #02082A
tetradic
#2A0208 #1C2A02 #022A24 #10022A
square
#2A0208 #1C2A02 #022A24 #10022A
split-complementary
#2A0208 #022A10 #021C2A
monochromatic
#1D0106 #1D0106 #2A0208 #640513 #9F081E

Accessibility & contrast

On white

18.91
#2A0208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#2A0208 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0208
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0208#FFFFFF#000000##FFFFFF
##2A02081.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0B08
Deuteranopia (green-blind)
#171407
Tritanopia (blue-blind)
#2F0004
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a0208;
/* rgb */ color: rgb(42, 2, 8);
/* oklch */ color: oklch(18.5% 0.068 16.1);
Tailwind
colors: {
  custom: {
    50: '#66474a',
    500: '#2a0208',
    950: '#000000',
  },
}
SCSS
$custom: #2a0208;
$custom-light: #66474a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0208",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 8
  },
  "hsl": {
    "h": 351,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18547,
    "c": 0.06794,
    "h": 16.1
  },
  "luminance": 0.00553
}

Semantic roles & 50–950 ramp

primary
#2A0208
secondary
#196F62
accent
#FFDF29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A0208

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

Preview Lab → · Contrast checker → · Palette generator →

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