#7A2018#7A2018

#7A2018 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.126 H 29.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#7A2018
RGBrgb(122, 32, 24)
HSLhsl(5, 67%, 29%)
HSVhsv(5, 80%, 48%)
CMYKcmyk(0%, 73.8%, 80.3%, 52.2%)
CIE-LABlab(27.40, 38.33, 27.79)
CIE-LCHlch(27.40, 47.35, 35.95°)
OKLaboklab(38.89% 0.1097 0.0612)
OKLCHoklch(38.89% 0.126 29.2)
XYZxyz(8.7084, 5.2379, 1.4164)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2018 #18727A
analogous
#7A1841 #7A2018 #7A5118
triadic
#7A2018 #187A20 #20187A
tetradic
#7A2018 #417A18 #18727A #51187A
square
#7A2018 #417A18 #18727A #51187A
split-complementary
#7A2018 #187A51 #18417A
monochromatic
#1A0705 #47130E #7A2018 #AD2D22 #D74235

Accessibility & contrast

On white

10.26
#7A2018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7A2018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2018
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2018#FFFFFF#000000##FFFFFF
##7A20181.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3416
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#87001F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a2018;
/* rgb */ color: rgb(122, 32, 24);
/* oklch */ color: oklch(38.9% 0.126 29.2);
Tailwind
colors: {
  custom: {
    50: '#a86255',
    500: '#7a2018',
    950: '#000000',
  },
}
SCSS
$custom: #7a2018;
$custom-light: #a86255;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2018",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 24
  },
  "hsl": {
    "h": 4.898,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38886,
    "c": 0.1256,
    "h": 29.2
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#7A2018
secondary
#3FA6AF
accent
#DCEA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #7A2018

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

Preview Lab → · Contrast checker → · Palette generator →

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