#28131F#28131F

#28131F is a very dark, muted pink. Relative luminance 0.010; OKLCH L 22.2% C 0.040 H 345.5°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#28131F
RGBrgb(40, 19, 31)
HSLhsl(326, 36%, 12%)
HSVhsv(326, 53%, 16%)
CMYKcmyk(0%, 52.5%, 22.5%, 84.3%)
CIE-LABlab(9.12, 12.96, -3.77)
CIE-LCHlch(9.12, 13.49, 343.78°)
OKLaboklab(22.17% 0.0384 -0.0099)
OKLCHoklch(22.17% 0.04 345.5)
XYZxyz(1.3553, 1.0159, 1.4208)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28131F #13281C
analogous
#271328 #28131F #281315
triadic
#28131F #1F2813 #131F28
tetradic
#28131F #282713 #13281C #131528
square
#28131F #282713 #13281C #131528
split-complementary
#28131F #152813 #132827
monochromatic
#150A10 #150A10 #28131F #51273F #7B3A5F

Accessibility & contrast

On white

17.45
#28131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#28131F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28131F
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28131F#FFFFFF#000000##FFFFFF
##28131F1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15181F
Deuteranopia (green-blind)
#1A1B1E
Tritanopia (blue-blind)
#2B1317
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #28131f;
/* rgb */ color: rgb(40, 19, 31);
/* oklch */ color: oklch(22.2% 0.040 345.5);
Tailwind
colors: {
  custom: {
    50: '#62515a',
    500: '#28131f',
    950: '#000000',
  },
}
SCSS
$custom: #28131f;
$custom-light: #62515a;
$custom-dark: #000000;
JSON
{
  "hex": "#28131f",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 325.714,
    "s": 35.593,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22171,
    "c": 0.0397,
    "h": 345.5
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#28131F
secondary
#395E49
accent
#CC8C5C
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28131F

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

Preview Lab → · Contrast checker → · Palette generator →

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