#28151E#28151E

#28151E is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.6% C 0.034 H 350.3°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#28151E
RGBrgb(40, 21, 30)
HSLhsl(332, 31%, 12%)
HSVhsv(332, 48%, 16%)
CMYKcmyk(0%, 47.5%, 25%, 84.3%)
CIE-LABlab(9.65, 11.34, -2.23)
CIE-LCHlch(9.65, 11.56, 348.90°)
OKLaboklab(22.56% 0.0338 -0.0058)
OKLCHoklch(22.56% 0.034 350.3)
XYZxyz(1.3776, 1.0813, 1.3642)
Luminance0.0108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28151E #15281F
analogous
#281528 #28151E #281615
triadic
#28151E #1E2815 #151E28
tetradic
#28151E #282815 #15281F #161528
square
#28151E #282815 #15281F #161528
split-complementary
#28151E #152816 #152828
monochromatic
#140B0F #140B0F #28151E #502A3C #783F5A

Accessibility & contrast

On white

17.27
#28151E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#28151E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28151E
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28151E#FFFFFF#000000##FFFFFF
##28151E1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17191E
Deuteranopia (green-blind)
#1C1C1E
Tritanopia (blue-blind)
#2B1418
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #28151e;
/* rgb */ color: rgb(40, 21, 30);
/* oklch */ color: oklch(22.6% 0.034 350.3);
Tailwind
colors: {
  custom: {
    50: '#625259',
    500: '#28151e',
    950: '#000000',
  },
}
SCSS
$custom: #28151e;
$custom-light: #625259;
$custom-dark: #000000;
JSON
{
  "hex": "#28151e",
  "rgb": {
    "r": 40,
    "g": 21,
    "b": 30
  },
  "hsl": {
    "h": 331.579,
    "s": 31.148,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22557,
    "c": 0.03433,
    "h": 350.3
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#28151E
secondary
#3C5D4D
accent
#C79760
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28151E

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

Preview Lab → · Contrast checker → · Palette generator →

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