#28001D#28001D

#28001D is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.6% C 0.080 H 341.3°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#28001D
RGBrgb(40, 0, 29)
HSLhsl(317, 100%, 8%)
HSVhsv(317, 100%, 16%)
CMYKcmyk(0%, 100%, 27.5%, 84.3%)
CIE-LABlab(4.88, 23.01, -8.62)
CIE-LCHlch(4.88, 24.57, 339.46°)
OKLaboklab(18.62% 0.0762 -0.0257)
OKLCHoklch(18.62% 0.08 341.3)
XYZxyz(1.0969, 0.5399, 1.2086)
Luminance0.0054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28001D #00280B
analogous
#1F0028 #28001D #280009
triadic
#28001D #1D2800 #001D28
tetradic
#28001D #281F00 #00280B #000928
square
#28001D #281F00 #00280B #000928
split-complementary
#28001D #092800 #00281F
monochromatic
#1F0016 #1F0016 #28001D #650049 #A20076

Accessibility & contrast

On white

18.95
#28001D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#28001D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28001D
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28001D#FFFFFF#000000##FFFFFF
##28001D1.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020C1E
Deuteranopia (green-blind)
#10131C
Tritanopia (blue-blind)
#2B000C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #28001d;
/* rgb */ color: rgb(40, 0, 29);
/* oklch */ color: oklch(18.6% 0.080 341.3);
Tailwind
colors: {
  custom: {
    50: '#634658',
    500: '#28001d',
    950: '#000000',
  },
}
SCSS
$custom: #28001d;
$custom-light: #634658;
$custom-dark: #000000;
JSON
{
  "hex": "#28001d",
  "rgb": {
    "r": 40,
    "g": 0,
    "b": 29
  },
  "hsl": {
    "h": 316.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18624,
    "c": 0.08042,
    "h": 341.3
  },
  "luminance": 0.0054
}

Semantic roles & 50–950 ramp

primary
#28001D
secondary
#14702D
accent
#FF6429
background
#F6F3F5
surface
#EBE5E9
border
#C6C1C5
text
#050003
muted
#7A7678

Preview Lab

Preview with #28001D

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

Preview Lab → · Contrast checker → · Palette generator →

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