#28201F#28201F

#28201F is a dark, near-neutral red. Relative luminance 0.016; OKLCH L 25.2% C 0.013 H 26.4°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#28201F
RGBrgb(40, 32, 31)
HSLhsl(7, 13%, 14%)
HSVhsv(7, 23%, 16%)
CMYKcmyk(0%, 20%, 22.5%, 84.3%)
CIE-LABlab(13.13, 3.63, 2.11)
CIE-LCHlch(13.13, 4.20, 30.21°)
OKLaboklab(25.25% 0.0112 0.0056)
OKLCHoklch(25.25% 0.013 26.4)
XYZxyz(1.6389, 1.5831, 1.5153)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28201F #1F2728
analogous
#281F23 #28201F #28251F
triadic
#28201F #1F2820 #201F28
tetradic
#28201F #23281F #1F2728 #251F28
square
#28201F #23281F #1F2728 #251F28
split-complementary
#28201F #1F2825 #1F2328
monochromatic
#110E0D #110E0D #28201F #4A3C3A #6D5754

Accessibility & contrast

On white

15.95
#28201F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#28201F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28201F
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28201F#FFFFFF#000000##FFFFFF
##28201F1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211F
Deuteranopia (green-blind)
#23221F
Tritanopia (blue-blind)
#2A1F20
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #28201f;
/* rgb */ color: rgb(40, 32, 31);
/* oklch */ color: oklch(25.2% 0.013 26.4);
Tailwind
colors: {
  custom: {
    50: '#625b5a',
    500: '#28201f',
    950: '#000000',
  },
}
SCSS
$custom: #28201f;
$custom-light: #625b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#28201f",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 31
  },
  "hsl": {
    "h": 6.667,
    "s": 12.676,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25247,
    "c": 0.01254,
    "h": 26.4
  },
  "luminance": 0.01583
}

Semantic roles & 50–950 ramp

primary
#28201F
secondary
#4A5759
accent
#AEB672
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050403
muted
#797978

Preview Lab

Preview with #28201F

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

Preview Lab → · Contrast checker → · Palette generator →

#28201F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva