#42271D#42271D

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

Color values

HEX#42271D
RGBrgb(66, 39, 29)
HSLhsl(16, 39%, 19%)
HSVhsv(16, 56%, 26%)
CMYKcmyk(0%, 40.9%, 56.1%, 74.1%)
CIE-LABlab(18.79, 11.38, 11.89)
CIE-LCHlch(18.79, 16.46, 46.24°)
OKLaboklab(30.42% 0.0337 0.0293)
OKLCHoklch(30.42% 0.045 41)
XYZxyz(3.1942, 2.6983, 1.5147)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42271D #1D3842
analogous
#421D25 #42271D #42391D
triadic
#42271D #1D4227 #271D42
tetradic
#42271D #25421D #1D3842 #391D42
square
#42271D #25421D #1D3842 #391D42
split-complementary
#42271D #1D4239 #1D2542
monochromatic
#150D09 #170E0A #42271D #6D4030 #975942

Accessibility & contrast

On white

13.64
#42271D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42271D
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42271D#FFFFFF#000000##FFFFFF
##42271D1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2A1C
Deuteranopia (green-blind)
#34301D
Tritanopia (blue-blind)
#482324
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #42271d;
/* rgb */ color: rgb(66, 39, 29);
/* oklch */ color: oklch(30.4% 0.045 41.0);
Tailwind
colors: {
  custom: {
    50: '#786159',
    500: '#42271d',
    950: '#000000',
  },
}
SCSS
$custom: #42271d;
$custom-light: #786159;
$custom-dark: #000000;
JSON
{
  "hex": "#42271d",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 16.216,
    "s": 38.947,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30421,
    "c": 0.04462,
    "h": 41
  },
  "luminance": 0.02698
}

Semantic roles & 50–950 ramp

primary
#42271D
secondary
#446977
accent
#AFCF59
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090503
muted
#7B7978

Preview Lab

Preview with #42271D

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

Preview Lab → · Contrast checker → · Palette generator →

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