#28001E#28001E

#28001E is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.7% C 0.081 H 340.1°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#28001E
RGBrgb(40, 0, 30)
HSLhsl(315, 100%, 8%)
HSVhsv(315, 100%, 16%)
CMYKcmyk(0%, 100%, 25%, 84.3%)
CIE-LABlab(4.92, 23.24, -9.34)
CIE-LCHlch(4.92, 25.04, 338.10°)
OKLaboklab(18.69% 0.0763 -0.0277)
OKLCHoklch(18.69% 0.081 340.1)
XYZxyz(1.1095, 0.5450, 1.2748)
Luminance0.0054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28001E #00280A
analogous
#1E0028 #28001E #28000A
triadic
#28001E #1E2800 #001E28
tetradic
#28001E #281E00 #00280A #000A28
square
#28001E #281E00 #00280A #000A28
split-complementary
#28001E #0A2800 #00281E
monochromatic
#1F0017 #1F0017 #28001E #65004C #A2007A

Accessibility & contrast

On white

18.94
#28001E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28001E
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28001E#FFFFFF#000000##FFFFFF
##28001E1.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020C1F
Deuteranopia (green-blind)
#0F131D
Tritanopia (blue-blind)
#2B010D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #28001e;
/* rgb */ color: rgb(40, 0, 30);
/* oklch */ color: oklch(18.7% 0.081 340.1);
Tailwind
colors: {
  custom: {
    50: '#634659',
    500: '#28001e',
    950: '#000000',
  },
}
SCSS
$custom: #28001e;
$custom-light: #634659;
$custom-dark: #000000;
JSON
{
  "hex": "#28001e",
  "rgb": {
    "r": 40,
    "g": 0,
    "b": 30
  },
  "hsl": {
    "h": 315,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18689,
    "c": 0.08118,
    "h": 340.1
  },
  "luminance": 0.00545
}

Semantic roles & 50–950 ramp

primary
#28001E
secondary
#14702B
accent
#FF5E29
background
#F6F3F5
surface
#EBE5E9
border
#C6C1C5
text
#050003
muted
#7A7678

Preview Lab

Preview with #28001E

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

Preview Lab → · Contrast checker → · Palette generator →

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