#28131D#28131D

#28131D is a very dark, muted pink. Relative luminance 0.010; OKLCH L 22.1% C 0.038 H 350.7°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#28131D
RGBrgb(40, 19, 29)
HSLhsl(331, 36%, 12%)
HSVhsv(331, 53%, 16%)
CMYKcmyk(0%, 52.5%, 27.5%, 84.3%)
CIE-LABlab(9.04, 12.55, -2.38)
CIE-LCHlch(9.04, 12.78, 349.27°)
OKLaboklab(22.08% 0.0376 -0.0062)
OKLCHoklch(22.08% 0.038 350.7)
XYZxyz(1.3297, 1.0057, 1.2862)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28131D #13281E
analogous
#281328 #28131D #281413
triadic
#28131D #1D2813 #131D28
tetradic
#28131D #282813 #13281E #141328
square
#28131D #282813 #13281E #141328
split-complementary
#28131D #132814 #132828
monochromatic
#150A0F #150A0F #28131D #51273B #7B3A59

Accessibility & contrast

On white

17.48
#28131D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28131D
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28131D#FFFFFF#000000##FFFFFF
##28131D1.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15171D
Deuteranopia (green-blind)
#1A1B1C
Tritanopia (blue-blind)
#2B1217
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #28131d;
/* rgb */ color: rgb(40, 19, 29);
/* oklch */ color: oklch(22.1% 0.038 350.7);
Tailwind
colors: {
  custom: {
    50: '#625158',
    500: '#28131d',
    950: '#000000',
  },
}
SCSS
$custom: #28131d;
$custom-light: #625158;
$custom-dark: #000000;
JSON
{
  "hex": "#28131d",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 29
  },
  "hsl": {
    "h": 331.429,
    "s": 35.593,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22079,
    "c": 0.03809,
    "h": 350.7
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#28131D
secondary
#395E4C
accent
#CC975C
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28131D

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

Preview Lab → · Contrast checker → · Palette generator →

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