#28101F#28101F

#28101F is a very dark, muted pink. Relative luminance 0.009; OKLCH L 21.6% C 0.046 H 343.4°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#28101F
RGBrgb(40, 16, 31)
HSLhsl(323, 43%, 11%)
HSVhsv(323, 60%, 16%)
CMYKcmyk(0%, 60%, 22.5%, 84.3%)
CIE-LABlab(8.31, 15.01, -4.99)
CIE-LCHlch(8.31, 15.82, 341.61°)
OKLaboklab(21.56% 0.0445 -0.0132)
OKLCHoklch(21.56% 0.046 343.4)
XYZxyz(1.3077, 0.9207, 1.4049)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28101F #102819
analogous
#251028 #28101F #281013
triadic
#28101F #1F2810 #101F28
tetradic
#28101F #282510 #102819 #101328
square
#28101F #282510 #102819 #101328
split-complementary
#28101F #132810 #102825
monochromatic
#160911 #160911 #28101F #542141 #7F3363

Accessibility & contrast

On white

17.73
#28101F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28101F
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28101F#FFFFFF#000000##FFFFFF
##28101F1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121620
Deuteranopia (green-blind)
#181A1E
Tritanopia (blue-blind)
#2B1016
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #28101f;
/* rgb */ color: rgb(40, 16, 31);
/* oklch */ color: oklch(21.6% 0.046 343.4);
Tailwind
colors: {
  custom: {
    50: '#634f5a',
    500: '#28101f',
    950: '#000000',
  },
}
SCSS
$custom: #28101f;
$custom-light: #634f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#28101f",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 31
  },
  "hsl": {
    "h": 322.5,
    "s": 42.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21561,
    "c": 0.04646,
    "h": 343.4
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#28101F
secondary
#346044
accent
#D38455
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28101F

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

Preview Lab → · Contrast checker → · Palette generator →

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