#2A030B#2A030B

#2A030B is a very dark, moderate red. Relative luminance 0.006; OKLCH L 18.8% C 0.066 H 12.5°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#2A030B
RGBrgb(42, 3, 11)
HSLhsl(348, 87%, 9%)
HSVhsv(348, 93%, 16%)
CMYKcmyk(0%, 92.9%, 73.8%, 83.5%)
CIE-LABlab(5.25, 19.67, 3.72)
CIE-LCHlch(5.25, 20.02, 10.70°)
OKLaboklab(18.83% 0.0644 0.0143)
OKLCHoklch(18.83% 0.066 12.5)
XYZxyz(1.0479, 0.5817, 0.3736)
Luminance0.0058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A030B #032A22
analogous
#2A031F #2A030B #2A0F03
triadic
#2A030B #0B2A03 #030B2A
tetradic
#2A030B #1F2A03 #032A22 #0F032A
square
#2A030B #1F2A03 #032A22 #0F032A
split-complementary
#2A030B #032A0F #031F2A
monochromatic
#1D0207 #1D0207 #2A030B #63071A #9C0B29

Accessibility & contrast

On white

18.81
#2A030B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A030B
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A030B#FFFFFF#000000##FFFFFF
##2A030B1.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0C0B
Deuteranopia (green-blind)
#17150A
Tritanopia (blue-blind)
#2F0006
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a030b;
/* rgb */ color: rgb(42, 3, 11);
/* oklch */ color: oklch(18.8% 0.066 12.5);
Tailwind
colors: {
  custom: {
    50: '#66474c',
    500: '#2a030b',
    950: '#000000',
  },
}
SCSS
$custom: #2a030b;
$custom-light: #66474c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a030b",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 11
  },
  "hsl": {
    "h": 347.692,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18827,
    "c": 0.06603,
    "h": 12.5
  },
  "luminance": 0.00582
}

Semantic roles & 50–950 ramp

primary
#2A030B
secondary
#1B6E5D
accent
#FDD22B
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A030B

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

Preview Lab → · Contrast checker → · Palette generator →

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