#28221D#28221D

#28221D is a dark, near-neutral orange. Relative luminance 0.017; OKLCH L 25.7% C 0.013 H 62.0°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#28221D
RGBrgb(40, 34, 29)
HSLhsl(27, 16%, 14%)
HSVhsv(27, 28%, 16%)
CMYKcmyk(0%, 15%, 27.5%, 84.3%)
CIE-LABlab(13.73, 1.80, 4.42)
CIE-LCHlch(13.73, 4.77, 67.82°)
OKLaboklab(25.7% 0.0061 0.0114)
OKLCHoklch(25.7% 0.013 62)
XYZxyz(1.6689, 1.6839, 1.3993)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28221D #1D2328
analogous
#281D1D #28221D #28271D
triadic
#28221D #1D2822 #221D28
tetradic
#28221D #1D281D #1D2328 #271D28
square
#28221D #1D281D #1D2328 #271D28
split-complementary
#28221D #1D2827 #1D1D28
monochromatic
#120F0D #120F0D #28221D #4B4037 #6F5E50

Accessibility & contrast

On white

15.71
#28221D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#28221D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28221D
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28221D#FFFFFF#000000##FFFFFF
##28221D1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221D
Deuteranopia (green-blind)
#25241D
Tritanopia (blue-blind)
#2A2121
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #28221d;
/* rgb */ color: rgb(40, 34, 29);
/* oklch */ color: oklch(25.7% 0.013 62.0);
Tailwind
colors: {
  custom: {
    50: '#625c58',
    500: '#28221d',
    950: '#000000',
  },
}
SCSS
$custom: #28221d;
$custom-light: #625c58;
$custom-dark: #000000;
JSON
{
  "hex": "#28221d",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 29
  },
  "hsl": {
    "h": 27.273,
    "s": 15.942,
    "l": 13.529
  },
  "oklch": {
    "l": 0.257,
    "c": 0.01293,
    "h": 62
  },
  "luminance": 0.01684
}

Semantic roles & 50–950 ramp

primary
#28221D
secondary
#475159
accent
#97B96F
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050403
muted
#797978

Preview Lab

Preview with #28221D

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

Preview Lab → · Contrast checker → · Palette generator →

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