#2A060C#2A060C

#2A060C is a very dark, moderate red. Relative luminance 0.006; OKLCH L 19.4% C 0.060 H 14.4°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#2A060C
RGBrgb(42, 6, 12)
HSLhsl(350, 75%, 9%)
HSVhsv(350, 86%, 16%)
CMYKcmyk(0%, 85.7%, 71.4%, 83.5%)
CIE-LABlab(5.86, 18.39, 4.16)
CIE-LCHlch(5.86, 18.85, 12.75°)
OKLaboklab(19.41% 0.0582 0.015)
OKLCHoklch(19.41% 0.06 14.4)
XYZxyz(1.0864, 0.6492, 0.4159)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A060C #062A24
analogous
#2A061E #2A060C #2A1206
triadic
#2A060C #0C2A06 #060C2A
tetradic
#2A060C #1E2A06 #062A24 #12062A
square
#2A060C #1E2A06 #062A24 #12062A
split-complementary
#2A060C #062A12 #061E2A
monochromatic
#1B0408 #1B0408 #2A060C #600E1B #95152B

Accessibility & contrast

On white

18.59
#2A060C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2A060C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A060C
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A060C#FFFFFF#000000##FFFFFF
##2A060C1.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0E0C
Deuteranopia (green-blind)
#18160B
Tritanopia (blue-blind)
#2F0108
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a060c;
/* rgb */ color: rgb(42, 6, 12);
/* oklch */ color: oklch(19.4% 0.060 14.4);
Tailwind
colors: {
  custom: {
    50: '#66494c',
    500: '#2a060c',
    950: '#000000',
  },
}
SCSS
$custom: #2a060c;
$custom-light: #66494c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a060c",
  "rgb": {
    "r": 42,
    "g": 6,
    "b": 12
  },
  "hsl": {
    "h": 350,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19412,
    "c": 0.06012,
    "h": 14.4
  },
  "luminance": 0.00649
}

Semantic roles & 50–950 ramp

primary
#2A060C
secondary
#216B5E
accent
#F2D236
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060101
muted
#7A7777

Preview Lab

Preview with #2A060C

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

Preview Lab → · Contrast checker → · Palette generator →

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