#42271E#42271E

#42271E is a dark, muted orange. Relative luminance 0.027; OKLCH L 30.4% C 0.044 H 39.2°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#42271E
RGBrgb(66, 39, 30)
HSLhsl(15, 38%, 19%)
HSVhsv(15, 55%, 26%)
CMYKcmyk(0%, 40.9%, 54.5%, 74.1%)
CIE-LABlab(18.81, 11.50, 11.23)
CIE-LCHlch(18.81, 16.08, 44.32°)
OKLaboklab(30.45% 0.0341 0.0278)
OKLCHoklch(30.45% 0.044 39.2)
XYZxyz(3.2068, 2.7033, 1.5809)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42271E #1E3942
analogous
#421E27 #42271E #42391E
triadic
#42271E #1E4227 #271E42
tetradic
#42271E #27421E #1E3942 #391E42
square
#42271E #27421E #1E3942 #391E42
split-complementary
#42271E #1E4239 #1E2742
monochromatic
#150C0A #180E0B #42271E #6C4031 #965944

Accessibility & contrast

On white

13.63
#42271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#42271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42271E
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42271E#FFFFFF#000000##FFFFFF
##42271E1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2A1D
Deuteranopia (green-blind)
#34301E
Tritanopia (blue-blind)
#482325
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #42271e;
/* rgb */ color: rgb(66, 39, 30);
/* oklch */ color: oklch(30.4% 0.044 39.2);
Tailwind
colors: {
  custom: {
    50: '#786159',
    500: '#42271e',
    950: '#000000',
  },
}
SCSS
$custom: #42271e;
$custom-light: #786159;
$custom-dark: #000000;
JSON
{
  "hex": "#42271e",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 15,
    "s": 37.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30445,
    "c": 0.04405,
    "h": 39.2
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#42271E
secondary
#456A77
accent
#B1CD5A
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090503
muted
#7B7978

Preview Lab

Preview with #42271E

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

Preview Lab → · Contrast checker → · Palette generator →

#42271E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva