#28071E#28071E

#28071E is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.9% C 0.064 H 341.8°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#28071E
RGBrgb(40, 7, 30)
HSLhsl(318, 70%, 9%)
HSVhsv(318, 83%, 16%)
CMYKcmyk(0%, 82.5%, 25%, 84.3%)
CIE-LABlab(6.29, 19.85, -7.27)
CIE-LCHlch(6.29, 21.14, 339.88°)
OKLaboklab(19.95% 0.0611 -0.0201)
OKLCHoklch(19.95% 0.064 341.8)
XYZxyz(1.1854, 0.6969, 1.3001)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28071E #072811
analogous
#220728 #28071E #28070E
triadic
#28071E #1E2807 #071E28
tetradic
#28071E #282207 #072811 #070E28
square
#28071E #282207 #072811 #070E28
split-complementary
#28071E #0E2807 #072822
monochromatic
#1A0514 #1A0514 #28071E #5C1045 #90196C

Accessibility & contrast

On white

18.43
#28071E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#28071E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28071E
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28071E#FFFFFF#000000##FFFFFF
##28071E1.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09101F
Deuteranopia (green-blind)
#13161D
Tritanopia (blue-blind)
#2B0711
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #28071e;
/* rgb */ color: rgb(40, 7, 30);
/* oklch */ color: oklch(19.9% 0.064 341.8);
Tailwind
colors: {
  custom: {
    50: '#634959',
    500: '#28071e',
    950: '#000000',
  },
}
SCSS
$custom: #28071e;
$custom-light: #634959;
$custom-dark: #000000;
JSON
{
  "hex": "#28071e",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 30
  },
  "hsl": {
    "h": 318.182,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19948,
    "c": 0.06434,
    "h": 341.8
  },
  "luminance": 0.00697
}

Semantic roles & 50–950 ramp

primary
#28071E
secondary
#236838
accent
#ED713B
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050103
muted
#7A7778

Preview Lab

Preview with #28071E

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

Preview Lab → · Contrast checker → · Palette generator →

#28071E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva