#28001F#28001F

#28001F is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.8% C 0.082 H 338.8°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#28001F
RGBrgb(40, 0, 31)
HSLhsl(314, 100%, 8%)
HSVhsv(314, 100%, 16%)
CMYKcmyk(0%, 100%, 22.5%, 84.3%)
CIE-LABlab(4.97, 23.47, -10.06)
CIE-LCHlch(4.97, 25.54, 336.81°)
OKLaboklab(18.76% 0.0764 -0.0296)
OKLCHoklch(18.76% 0.082 338.8)
XYZxyz(1.1224, 0.5502, 1.3431)
Luminance0.0055 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28001F #002809
analogous
#1D0028 #28001F #28000B
triadic
#28001F #1F2800 #001F28
tetradic
#28001F #281D00 #002809 #000B28
square
#28001F #281D00 #002809 #000B28
split-complementary
#28001F #0B2800 #00281D
monochromatic
#1F0018 #1F0018 #28001F #65004E #A2007E

Accessibility & contrast

On white

18.92
#28001F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28001F
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28001F#FFFFFF#000000##FFFFFF
##28001F1.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010C20
Deuteranopia (green-blind)
#0F131E
Tritanopia (blue-blind)
#2B010E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #28001f;
/* rgb */ color: rgb(40, 0, 31);
/* oklch */ color: oklch(18.8% 0.082 338.8);
Tailwind
colors: {
  custom: {
    50: '#63465a',
    500: '#28001f',
    950: '#000000',
  },
}
SCSS
$custom: #28001f;
$custom-light: #63465a;
$custom-dark: #000000;
JSON
{
  "hex": "#28001f",
  "rgb": {
    "r": 40,
    "g": 0,
    "b": 31
  },
  "hsl": {
    "h": 313.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18756,
    "c": 0.08193,
    "h": 338.8
  },
  "luminance": 0.0055
}

Semantic roles & 50–950 ramp

primary
#28001F
secondary
#147029
accent
#FF5929
background
#F6F3F5
surface
#EBE5E9
border
#C6C1C5
text
#050003
muted
#7A7678

Preview Lab

Preview with #28001F

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

Preview Lab → · Contrast checker → · Palette generator →

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