#7E421C#7E421C

#7E421C is a dark, moderate orange. Relative luminance 0.084; OKLCH L 44.7% C 0.097 H 50.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7E421C
RGBrgb(126, 66, 28)
HSLhsl(23, 64%, 30%)
HSVhsv(23, 78%, 49%)
CMYKcmyk(0%, 47.6%, 77.8%, 50.6%)
CIE-LABlab(34.84, 22.78, 33.54)
CIE-LCHlch(34.84, 40.54, 55.82°)
OKLaboklab(44.67% 0.0622 0.0744)
OKLCHoklch(44.67% 0.097 50.1)
XYZxyz(10.7630, 8.4171, 2.1563)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E421C #1C587E
analogous
#7E1C27 #7E421C #7E731C
triadic
#7E421C #1C7E42 #421C7E
tetradic
#7E421C #277E1C #1C587E #731C7E
square
#7E421C #277E1C #1C587E #731C7E
split-complementary
#7E421C #1C7E73 #1C277E
monochromatic
#1A0E06 #4C2811 #7E421C #B05C27 #D57A40

Accessibility & contrast

On white

7.83
#7E421C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7E421C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E421C
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E421C#FFFFFF#000000##FFFFFF
##7E421C1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A17
Deuteranopia (green-blind)
#62571B
Tritanopia (blue-blind)
#8A353A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7e421c;
/* rgb */ color: rgb(126, 66, 28);
/* oklch */ color: oklch(44.7% 0.097 50.1);
Tailwind
colors: {
  custom: {
    50: '#a9775a',
    500: '#7e421c',
    950: '#000000',
  },
}
SCSS
$custom: #7e421c;
$custom-light: #a9775a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e421c",
  "rgb": {
    "r": 126,
    "g": 66,
    "b": 28
  },
  "hsl": {
    "h": 23.265,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.44673,
    "c": 0.097,
    "h": 50.1
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#7E421C
secondary
#4487B2
accent
#A6E741
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110804
muted
#807B79

Preview Lab

Preview with #7E421C

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

Preview Lab → · Contrast checker → · Palette generator →

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