#28011E#28011E

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

Color values

HEX#28011E
RGBrgb(40, 1, 30)
HSLhsl(315, 95%, 8%)
HSVhsv(315, 98%, 16%)
CMYKcmyk(0%, 97.5%, 25%, 84.3%)
CIE-LABlab(5.12, 22.76, -9.04)
CIE-LCHlch(5.12, 24.49, 338.33°)
OKLaboklab(18.88% 0.0739 -0.0265)
OKLCHoklch(18.88% 0.079 340.3)
XYZxyz(1.1203, 0.5667, 1.2784)
Luminance0.0057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28011E #01280B
analogous
#1E0128 #28011E #28010A
triadic
#28011E #1E2801 #011E28
tetradic
#28011E #281E01 #01280B #010A28
square
#28011E #281E01 #01280B #010A28
split-complementary
#28011E #0A2801 #01281E
monochromatic
#1E0116 #1E0116 #28011E #64024B #9F0478

Accessibility & contrast

On white

18.86
#28011E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28011E
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28011E#FFFFFF#000000##FFFFFF
##28011E1.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030D1F
Deuteranopia (green-blind)
#10141D
Tritanopia (blue-blind)
#2B020E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #28011e;
/* rgb */ color: rgb(40, 1, 30);
/* oklch */ color: oklch(18.9% 0.079 340.3);
Tailwind
colors: {
  custom: {
    50: '#634659',
    500: '#28011e',
    950: '#000000',
  },
}
SCSS
$custom: #28011e;
$custom-light: #634659;
$custom-dark: #000000;
JSON
{
  "hex": "#28011e",
  "rgb": {
    "r": 40,
    "g": 1,
    "b": 30
  },
  "hsl": {
    "h": 315.385,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.1888,
    "c": 0.07852,
    "h": 340.3
  },
  "luminance": 0.00567
}

Semantic roles & 50–950 ramp

primary
#28011E
secondary
#166F2D
accent
#FF6029
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050003
muted
#7A7778

Preview Lab

Preview with #28011E

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

Preview Lab → · Contrast checker → · Palette generator →

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