#28011F#28011F

#28011F is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.9% C 0.079 H 339.0°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#28011F
RGBrgb(40, 1, 31)
HSLhsl(314, 95%, 8%)
HSVhsv(314, 98%, 16%)
CMYKcmyk(0%, 97.5%, 22.5%, 84.3%)
CIE-LABlab(5.17, 23.00, -9.76)
CIE-LCHlch(5.17, 24.98, 337.00°)
OKLaboklab(18.95% 0.074 -0.0285)
OKLCHoklch(18.95% 0.079 339)
XYZxyz(1.1333, 0.5719, 1.3468)
Luminance0.0057 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28011F #01280A
analogous
#1D0128 #28011F #28010B
triadic
#28011F #1F2801 #011F28
tetradic
#28011F #281D01 #01280A #010B28
square
#28011F #281D01 #01280A #010B28
split-complementary
#28011F #0B2801 #01281D
monochromatic
#1E0117 #1E0117 #28011F #64024D #9F047C

Accessibility & contrast

On white

18.84
#28011F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#28011F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28011F
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28011F#FFFFFF#000000##FFFFFF
##28011F1.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020D20
Deuteranopia (green-blind)
#0F141E
Tritanopia (blue-blind)
#2B020E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #28011f;
/* rgb */ color: rgb(40, 1, 31);
/* oklch */ color: oklch(18.9% 0.079 339.0);
Tailwind
colors: {
  custom: {
    50: '#63465a',
    500: '#28011f',
    950: '#000000',
  },
}
SCSS
$custom: #28011f;
$custom-light: #63465a;
$custom-dark: #000000;
JSON
{
  "hex": "#28011f",
  "rgb": {
    "r": 40,
    "g": 1,
    "b": 31
  },
  "hsl": {
    "h": 313.846,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18945,
    "c": 0.0793,
    "h": 339
  },
  "luminance": 0.00572
}

Semantic roles & 50–950 ramp

primary
#28011F
secondary
#166F2B
accent
#FF5A29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050003
muted
#7A7778

Preview Lab

Preview with #28011F

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

Preview Lab → · Contrast checker → · Palette generator →

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