#42271B#42271B

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

Color values

HEX#42271B
RGBrgb(66, 39, 27)
HSLhsl(18, 42%, 18%)
HSVhsv(18, 59%, 26%)
CMYKcmyk(0%, 40.9%, 59.1%, 74.1%)
CIE-LABlab(18.75, 11.16, 13.19)
CIE-LCHlch(18.75, 17.28, 49.76°)
OKLaboklab(30.38% 0.0327 0.0322)
OKLCHoklch(30.38% 0.046 44.6)
XYZxyz(3.1703, 2.6887, 1.3887)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42271B #1B3642
analogous
#421B22 #42271B #423A1B
triadic
#42271B #1B4227 #271B42
tetradic
#42271B #22421B #1B3642 #3A1B42
square
#42271B #22421B #1B3642 #3A1B42
split-complementary
#42271B #1B423A #1B2242
monochromatic
#160D09 #170D09 #42271B #6D412D #995A3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42271B#FFFFFF#000000##FFFFFF
##42271B1.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)
#2E2A1A
Deuteranopia (green-blind)
#35301B
Tritanopia (blue-blind)
#482224
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #42271b;
/* rgb */ color: rgb(66, 39, 27);
/* oklch */ color: oklch(30.4% 0.046 44.6);
Tailwind
colors: {
  custom: {
    50: '#786157',
    500: '#42271b',
    950: '#000000',
  },
}
SCSS
$custom: #42271b;
$custom-light: #786157;
$custom-dark: #000000;
JSON
{
  "hex": "#42271b",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 18.462,
    "s": 41.935,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30376,
    "c": 0.04585,
    "h": 44.6
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#42271B
secondary
#416778
accent
#ACD256
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090503
muted
#7B7978

Preview Lab

Preview with #42271B

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

Preview Lab → · Contrast checker → · Palette generator →

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