#28101D#28101D

#28101D is a very dark, muted pink. Relative luminance 0.009; OKLCH L 21.5% C 0.045 H 347.8°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#28101D
RGBrgb(40, 16, 29)
HSLhsl(328, 43%, 11%)
HSVhsv(328, 60%, 16%)
CMYKcmyk(0%, 60%, 27.5%, 84.3%)
CIE-LABlab(8.22, 14.62, -3.60)
CIE-LCHlch(8.22, 15.06, 346.17°)
OKLaboklab(21.46% 0.0438 -0.0094)
OKLCHoklch(21.46% 0.045 347.8)
XYZxyz(1.2822, 0.9105, 1.2704)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28101D #10281B
analogous
#271028 #28101D #281011
triadic
#28101D #1D2810 #101D28
tetradic
#28101D #282710 #10281B #101128
square
#28101D #282710 #10281B #101128
split-complementary
#28101D #112810 #102827
monochromatic
#160910 #160910 #28101D #54213D #7F335C

Accessibility & contrast

On white

17.77
#28101D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28101D
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28101D#FFFFFF#000000##FFFFFF
##28101D1.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12151D
Deuteranopia (green-blind)
#19191C
Tritanopia (blue-blind)
#2B0F15
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #28101d;
/* rgb */ color: rgb(40, 16, 29);
/* oklch */ color: oklch(21.5% 0.045 347.8);
Tailwind
colors: {
  custom: {
    50: '#634f58',
    500: '#28101d',
    950: '#000000',
  },
}
SCSS
$custom: #28101d;
$custom-light: #634f58;
$custom-dark: #000000;
JSON
{
  "hex": "#28101d",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 29
  },
  "hsl": {
    "h": 327.5,
    "s": 42.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21463,
    "c": 0.04476,
    "h": 347.8
  },
  "luminance": 0.0091
}

Semantic roles & 50–950 ramp

primary
#28101D
secondary
#346048
accent
#D38F55
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28101D

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

Preview Lab → · Contrast checker → · Palette generator →

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