#28101C#28101C

#28101C is a very dark, muted pink. Relative luminance 0.009; OKLCH L 21.4% C 0.044 H 350.2°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#28101C
RGBrgb(40, 16, 28)
HSLhsl(330, 43%, 11%)
HSVhsv(330, 60%, 16%)
CMYKcmyk(0%, 60%, 30%, 84.3%)
CIE-LABlab(8.18, 14.43, -2.90)
CIE-LCHlch(8.18, 14.72, 348.64°)
OKLaboklab(21.42% 0.0434 -0.0075)
OKLCHoklch(21.42% 0.044 350.2)
XYZxyz(1.2700, 0.9056, 1.2063)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28101C #10281C
analogous
#281028 #28101C #281010
triadic
#28101C #1C2810 #101C28
tetradic
#28101C #282810 #10281C #101028
square
#28101C #282810 #10281C #101028
split-complementary
#28101C #102810 #102828
monochromatic
#16090F #16090F #28101C #54213B #7F3359

Accessibility & contrast

On white

17.78
#28101C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#28101C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28101C
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28101C#FFFFFF#000000##FFFFFF
##28101C1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13151C
Deuteranopia (green-blind)
#19191B
Tritanopia (blue-blind)
#2B0F14
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #28101c;
/* rgb */ color: rgb(40, 16, 28);
/* oklch */ color: oklch(21.4% 0.044 350.2);
Tailwind
colors: {
  custom: {
    50: '#634f58',
    500: '#28101c',
    950: '#000000',
  },
}
SCSS
$custom: #28101c;
$custom-light: #634f58;
$custom-dark: #000000;
JSON
{
  "hex": "#28101c",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 28
  },
  "hsl": {
    "h": 330,
    "s": 42.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21417,
    "c": 0.044,
    "h": 350.2
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#28101C
secondary
#34604A
accent
#D39455
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28101C

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

Preview Lab → · Contrast checker → · Palette generator →

#28101C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva