#2A030C#2A030C

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

Color values

HEX#2A030C
RGBrgb(42, 3, 12)
HSLhsl(346, 87%, 9%)
HSVhsv(346, 93%, 16%)
CMYKcmyk(0%, 92.9%, 71.4%, 83.5%)
CIE-LABlab(5.28, 19.79, 3.30)
CIE-LCHlch(5.28, 20.06, 9.48°)
OKLaboklab(18.86% 0.0649 0.0126)
OKLCHoklch(18.86% 0.066 11)
XYZxyz(1.0539, 0.5841, 0.4050)
Luminance0.0058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A030C #032A21
analogous
#2A0320 #2A030C #2A0E03
triadic
#2A030C #0C2A03 #030C2A
tetradic
#2A030C #202A03 #032A21 #0E032A
square
#2A030C #202A03 #032A21 #0E032A
split-complementary
#2A030C #032A0E #03202A
monochromatic
#1D0208 #1D0208 #2A030C #63071C #9C0B2D

Accessibility & contrast

On white

18.80
#2A030C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A030C
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A030C#FFFFFF#000000##FFFFFF
##2A030C1.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0C0C
Deuteranopia (green-blind)
#17150B
Tritanopia (blue-blind)
#2F0006
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a030c;
/* rgb */ color: rgb(42, 3, 12);
/* oklch */ color: oklch(18.9% 0.066 11.0);
Tailwind
colors: {
  custom: {
    50: '#66474c',
    500: '#2a030c',
    950: '#000000',
  },
}
SCSS
$custom: #2a030c;
$custom-light: #66474c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a030c",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 12
  },
  "hsl": {
    "h": 346.154,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18857,
    "c": 0.06616,
    "h": 11
  },
  "luminance": 0.00584
}

Semantic roles & 50–950 ramp

primary
#2A030C
secondary
#1B6E5B
accent
#FDCC2B
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A030C

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

Preview Lab → · Contrast checker → · Palette generator →

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