#28131E#28131E

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

Color values

HEX#28131E
RGBrgb(40, 19, 30)
HSLhsl(329, 36%, 12%)
HSVhsv(329, 53%, 16%)
CMYKcmyk(0%, 52.5%, 25%, 84.3%)
CIE-LABlab(9.08, 12.75, -3.08)
CIE-LCHlch(9.08, 13.12, 346.44°)
OKLaboklab(22.12% 0.038 -0.008)
OKLCHoklch(22.12% 0.039 348.1)
XYZxyz(1.3423, 1.0107, 1.3524)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28131E #13281D
analogous
#281328 #28131E #281314
triadic
#28131E #1E2813 #131E28
tetradic
#28131E #282813 #13281D #131428
square
#28131E #282813 #13281D #131428
split-complementary
#28131E #142813 #132828
monochromatic
#150A10 #150A10 #28131E #51273D #7B3A5C

Accessibility & contrast

On white

17.47
#28131E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28131E
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28131E#FFFFFF#000000##FFFFFF
##28131E1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15171E
Deuteranopia (green-blind)
#1A1B1D
Tritanopia (blue-blind)
#2B1317
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #28131e;
/* rgb */ color: rgb(40, 19, 30);
/* oklch */ color: oklch(22.1% 0.039 348.1);
Tailwind
colors: {
  custom: {
    50: '#625159',
    500: '#28131e',
    950: '#000000',
  },
}
SCSS
$custom: #28131e;
$custom-light: #625159;
$custom-dark: #000000;
JSON
{
  "hex": "#28131e",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 30
  },
  "hsl": {
    "h": 328.571,
    "s": 35.593,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22124,
    "c": 0.03886,
    "h": 348.1
  },
  "luminance": 0.01011
}

Semantic roles & 50–950 ramp

primary
#28131E
secondary
#395E4B
accent
#CC915C
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28131E

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

Preview Lab → · Contrast checker → · Palette generator →

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