#7A2012#7A2012

#7A2012 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.8% C 0.127 H 31.7°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#7A2012
RGBrgb(122, 32, 18)
HSLhsl(8, 74%, 27%)
HSVhsv(8, 85%, 48%)
CMYKcmyk(0%, 73.8%, 85.2%, 52.2%)
CIE-LABlab(27.34, 38.12, 31.19)
CIE-LCHlch(27.34, 49.25, 39.29°)
OKLaboklab(38.82% 0.1078 0.0665)
OKLCHoklch(38.82% 0.127 31.7)
XYZxyz(8.6528, 5.2156, 1.1233)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2012 #126C7A
analogous
#7A1238 #7A2012 #7A5412
triadic
#7A2012 #127A20 #20127A
tetradic
#7A2012 #387A12 #126C7A #54127A
square
#7A2012 #387A12 #126C7A #54127A
split-complementary
#7A2012 #127A54 #12387A
monochromatic
#1B0704 #45120A #7A2012 #AF2E1A #DF4027

Accessibility & contrast

On white

10.28
#7A2012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7A2012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2012
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2012#FFFFFF#000000##FFFFFF
##7A20121.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#51480D
Tritanopia (blue-blind)
#87001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a2012;
/* rgb */ color: rgb(122, 32, 18);
/* oklch */ color: oklch(38.8% 0.127 31.7);
Tailwind
colors: {
  custom: {
    50: '#a86251',
    500: '#7a2012',
    950: '#000000',
  },
}
SCSS
$custom: #7a2012;
$custom-light: #a86251;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2012",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 8.077,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38821,
    "c": 0.12664,
    "h": 31.7
  },
  "luminance": 0.05214
}

Semantic roles & 50–950 ramp

primary
#7A2012
secondary
#38A0B0
accent
#D8F137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110502
muted
#807A78

Preview Lab

Preview with #7A2012

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

Preview Lab → · Contrast checker → · Palette generator →

#7A2012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva