#7B2017#7B2017

#7B2017 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.127 H 29.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#7B2017
RGBrgb(123, 32, 23)
HSLhsl(5, 68%, 29%)
HSVhsv(5, 81%, 48%)
CMYKcmyk(0%, 74%, 81.3%, 51.8%)
CIE-LABlab(27.59, 38.64, 28.65)
CIE-LCHlch(27.59, 48.11, 36.55°)
OKLaboklab(39.06% 0.1103 0.0627)
OKLCHoklch(39.06% 0.127 29.6)
XYZxyz(8.8406, 5.3072, 1.3693)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2017 #17727B
analogous
#7B1740 #7B2017 #7B5217
triadic
#7B2017 #177B20 #20177B
tetradic
#7B2017 #407B17 #17727B #52177B
square
#7B2017 #407B17 #17727B #52177B
split-complementary
#7B2017 #177B52 #17407B
monochromatic
#1A0705 #47130D #7B2017 #AF2D21 #D94233

Accessibility & contrast

On white

10.19
#7B2017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7B2017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2017
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2017#FFFFFF#000000##FFFFFF
##7B20171.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3415
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#88001F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b2017;
/* rgb */ color: rgb(123, 32, 23);
/* oklch */ color: oklch(39.1% 0.127 29.6);
Tailwind
colors: {
  custom: {
    50: '#a96255',
    500: '#7b2017',
    950: '#000000',
  },
}
SCSS
$custom: #7b2017;
$custom-light: #a96255;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2017",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 5.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39062,
    "c": 0.12688,
    "h": 29.6
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#7B2017
secondary
#3EA6B0
accent
#DCEB3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110503
muted
#807A78

Preview Lab

Preview with #7B2017

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

Preview Lab → · Contrast checker → · Palette generator →

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