#7F421C#7F421C

#7F421C is a dark, moderate orange. Relative luminance 0.085; OKLCH L 44.8% C 0.098 H 49.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7F421C
RGBrgb(127, 66, 28)
HSLhsl(23, 64%, 30%)
HSVhsv(23, 78%, 50%)
CMYKcmyk(0%, 48%, 78%, 50.2%)
CIE-LABlab(34.99, 23.22, 33.75)
CIE-LCHlch(34.99, 40.96, 55.47°)
OKLaboklab(44.82% 0.0635 0.0748)
OKLCHoklch(44.82% 0.098 49.7)
XYZxyz(10.9112, 8.4936, 2.1632)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F421C #1C597F
analogous
#7F1C28 #7F421C #7F731C
triadic
#7F421C #1C7F42 #421C7F
tetradic
#7F421C #287F1C #1C597F #731C7F
square
#7F421C #287F1C #1C597F #731C7F
split-complementary
#7F421C #1C7F73 #1C287F
monochromatic
#1B0E06 #4D2811 #7F421C #B15C27 #D57940

Accessibility & contrast

On white

7.78
#7F421C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7F421C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F421C
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F421C#FFFFFF#000000##FFFFFF
##7F421C1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f421c;
/* rgb */ color: rgb(127, 66, 28);
/* oklch */ color: oklch(44.8% 0.098 49.7);
Tailwind
colors: {
  custom: {
    50: '#aa775a',
    500: '#7f421c',
    950: '#000000',
  },
}
SCSS
$custom: #7f421c;
$custom-light: #aa775a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f421c",
  "rgb": {
    "r": 127,
    "g": 66,
    "b": 28
  },
  "hsl": {
    "h": 23.03,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.44822,
    "c": 0.0981,
    "h": 49.7
  },
  "luminance": 0.08492
}

Semantic roles & 50–950 ramp

primary
#7F421C
secondary
#4488B3
accent
#A7E741
background
#FBF7F5
surface
#F6EDE9
border
#D0C8C5
text
#110904
muted
#807B79

Preview Lab

Preview with #7F421C

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

Preview Lab → · Contrast checker → · Palette generator →

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