#28131B#28131B

#28131B is a very dark, muted pink. Relative luminance 0.010; OKLCH L 22.0% C 0.037 H 356.2°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#28131B
RGBrgb(40, 19, 27)
HSLhsl(337, 36%, 12%)
HSVhsv(337, 53%, 16%)
CMYKcmyk(0%, 52.5%, 32.5%, 84.3%)
CIE-LABlab(8.96, 12.17, -0.98)
CIE-LCHlch(8.96, 12.21, 355.41°)
OKLaboklab(21.99% 0.0367 -0.0024)
OKLCHoklch(21.99% 0.037 356.2)
XYZxyz(1.3058, 0.9961, 1.1602)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28131B #132820
analogous
#281326 #28131B #281613
triadic
#28131B #1B2813 #131B28
tetradic
#28131B #262813 #132820 #161328
square
#28131B #262813 #132820 #161328
split-complementary
#28131B #132816 #132628
monochromatic
#150A0E #150A0E #28131B #512737 #7B3A53

Accessibility & contrast

On white

17.51
#28131B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28131B
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28131B#FFFFFF#000000##FFFFFF
##28131B1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16171B
Deuteranopia (green-blind)
#1B1B1B
Tritanopia (blue-blind)
#2B1216
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #28131b;
/* rgb */ color: rgb(40, 19, 27);
/* oklch */ color: oklch(22.0% 0.037 356.2);
Tailwind
colors: {
  custom: {
    50: '#635157',
    500: '#28131b',
    950: '#000000',
  },
}
SCSS
$custom: #28131b;
$custom-light: #635157;
$custom-dark: #000000;
JSON
{
  "hex": "#28131b",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 27
  },
  "hsl": {
    "h": 337.143,
    "s": 35.593,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21992,
    "c": 0.03677,
    "h": 356.2
  },
  "luminance": 0.00996
}

Semantic roles & 50–950 ramp

primary
#28131B
secondary
#395E50
accent
#CCA15C
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28131B

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

Preview Lab → · Contrast checker → · Palette generator →

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