#28131C#28131C

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

Color values

HEX#28131C
RGBrgb(40, 19, 28)
HSLhsl(334, 36%, 12%)
HSVhsv(334, 53%, 16%)
CMYKcmyk(0%, 52.5%, 30%, 84.3%)
CIE-LABlab(9.00, 12.36, -1.68)
CIE-LCHlch(9.00, 12.47, 352.26°)
OKLaboklab(22.04% 0.0371 -0.0043)
OKLCHoklch(22.04% 0.037 353.4)
XYZxyz(1.3176, 1.0008, 1.2222)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28131C #13281F
analogous
#281327 #28131C #281513
triadic
#28131C #1C2813 #131C28
tetradic
#28131C #272813 #13281F #151328
square
#28131C #272813 #13281F #151328
split-complementary
#28131C #132815 #132728
monochromatic
#150A0F #150A0F #28131C #512739 #7B3A56

Accessibility & contrast

On white

17.50
#28131C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28131C
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28131C#FFFFFF#000000##FFFFFF
##28131C1.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28131c;
/* rgb */ color: rgb(40, 19, 28);
/* oklch */ color: oklch(22.0% 0.037 353.4);
Tailwind
colors: {
  custom: {
    50: '#625157',
    500: '#28131c',
    950: '#000000',
  },
}
SCSS
$custom: #28131c;
$custom-light: #625157;
$custom-dark: #000000;
JSON
{
  "hex": "#28131c",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 28
  },
  "hsl": {
    "h": 334.286,
    "s": 35.593,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22035,
    "c": 0.03739,
    "h": 353.4
  },
  "luminance": 0.01001
}

Semantic roles & 50–950 ramp

primary
#28131C
secondary
#395E4E
accent
#CC9C5C
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28131C

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

Preview Lab → · Contrast checker → · Palette generator →

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