#42271A#42271A

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

Color values

HEX#42271A
RGBrgb(66, 39, 26)
HSLhsl(20, 43%, 18%)
HSVhsv(20, 61%, 26%)
CMYKcmyk(0%, 40.9%, 60.6%, 74.1%)
CIE-LABlab(18.73, 11.05, 13.84)
CIE-LCHlch(18.73, 17.71, 51.38°)
OKLaboklab(30.35% 0.0322 0.0336)
OKLCHoklch(30.35% 0.047 46.2)
XYZxyz(3.1589, 2.6841, 1.3288)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42271A #1A3542
analogous
#421A21 #42271A #423B1A
triadic
#42271A #1A4227 #271A42
tetradic
#42271A #21421A #1A3542 #3B1A42
square
#42271A #21421A #1A3542 #3B1A42
split-complementary
#42271A #1A423B #1A2142
monochromatic
#160D09 #160D09 #42271A #6E412B #9A5B3D

Accessibility & contrast

On white

13.66
#42271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42271A
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42271A#FFFFFF#000000##FFFFFF
##42271A1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2A19
Deuteranopia (green-blind)
#35301A
Tritanopia (blue-blind)
#482224
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #42271a;
/* rgb */ color: rgb(66, 39, 26);
/* oklch */ color: oklch(30.4% 0.047 46.2);
Tailwind
colors: {
  custom: {
    50: '#786156',
    500: '#42271a',
    950: '#000000',
  },
}
SCSS
$custom: #42271a;
$custom-light: #786156;
$custom-dark: #000000;
JSON
{
  "hex": "#42271a",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 19.5,
    "s": 43.478,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30355,
    "c": 0.04652,
    "h": 46.2
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#42271A
secondary
#406678
accent
#AAD355
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090503
muted
#7B7978

Preview Lab

Preview with #42271A

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

Preview Lab → · Contrast checker → · Palette generator →

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