#2A0206#2A0206

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

Color values

HEX#2A0206
RGBrgb(42, 2, 6)
HSLhsl(354, 91%, 9%)
HSVhsv(354, 95%, 16%)
CMYKcmyk(0%, 95.2%, 85.7%, 83.5%)
CIE-LABlab(4.96, 19.57, 5.33)
CIE-LCHlch(4.96, 20.28, 15.24°)
OKLaboklab(18.49% 0.0641 0.0227)
OKLCHoklch(18.49% 0.068 19.5)
XYZxyz(1.0095, 0.5490, 0.2251)
Luminance0.0055 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0206 #022A26
analogous
#2A021A #2A0206 #2A1202
triadic
#2A0206 #062A02 #02062A
tetradic
#2A0206 #1A2A02 #022A26 #12022A
square
#2A0206 #1A2A02 #022A26 #12022A
split-complementary
#2A0206 #022A12 #021A2A
monochromatic
#1D0104 #1D0104 #2A0206 #64050E #9F0817

Accessibility & contrast

On white

18.92
#2A0206 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0206
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0206#FFFFFF#000000##FFFFFF
##2A02061.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a0206;
/* rgb */ color: rgb(42, 2, 6);
/* oklch */ color: oklch(18.5% 0.068 19.5);
Tailwind
colors: {
  custom: {
    50: '#664749',
    500: '#2a0206',
    950: '#000000',
  },
}
SCSS
$custom: #2a0206;
$custom-light: #664749;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0206",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 6
  },
  "hsl": {
    "h": 354,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18489,
    "c": 0.06797,
    "h": 19.5
  },
  "luminance": 0.00549
}

Semantic roles & 50–950 ramp

primary
#2A0206
secondary
#196F66
accent
#FFEA29
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #2A0206

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

Preview Lab → · Contrast checker → · Palette generator →

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