#28001B#28001B

#28001B is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.5% C 0.079 H 344.0°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#28001B
RGBrgb(40, 0, 27)
HSLhsl(320, 100%, 8%)
HSVhsv(320, 100%, 16%)
CMYKcmyk(0%, 100%, 32.5%, 84.3%)
CIE-LABlab(4.79, 22.55, -7.16)
CIE-LCHlch(4.79, 23.66, 342.38°)
OKLaboklab(18.5% 0.0759 -0.0218)
OKLCHoklch(18.5% 0.079 344)
XYZxyz(1.0730, 0.5304, 1.0826)
Luminance0.0053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28001B #00280D
analogous
#210028 #28001B #280007
triadic
#28001B #1B2800 #001B28
tetradic
#28001B #282100 #00280D #000728
square
#28001B #282100 #00280D #000728
split-complementary
#28001B #072800 #002821
monochromatic
#1F0015 #1F0015 #28001B #650044 #A2006E

Accessibility & contrast

On white

18.99
#28001B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28001B
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28001B#FFFFFF#000000##FFFFFF
##28001B1.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030C1C
Deuteranopia (green-blind)
#10131A
Tritanopia (blue-blind)
#2C000B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #28001b;
/* rgb */ color: rgb(40, 0, 27);
/* oklch */ color: oklch(18.5% 0.079 344.0);
Tailwind
colors: {
  custom: {
    50: '#634657',
    500: '#28001b',
    950: '#000000',
  },
}
SCSS
$custom: #28001b;
$custom-light: #634657;
$custom-dark: #000000;
JSON
{
  "hex": "#28001b",
  "rgb": {
    "r": 40,
    "g": 0,
    "b": 27
  },
  "hsl": {
    "h": 319.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18498,
    "c": 0.07898,
    "h": 344
  },
  "luminance": 0.0053
}

Semantic roles & 50–950 ramp

primary
#28001B
secondary
#147032
accent
#FF6E29
background
#F6F3F5
surface
#EBE5E9
border
#C6C1C5
text
#050003
muted
#7A7678

Preview Lab

Preview with #28001B

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

Preview Lab → · Contrast checker → · Palette generator →

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