#28151D#28151D

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

Color values

HEX#28151D
RGBrgb(40, 21, 29)
HSLhsl(335, 31%, 12%)
HSVhsv(335, 48%, 16%)
CMYKcmyk(0%, 47.5%, 27.5%, 84.3%)
CIE-LABlab(9.61, 11.14, -1.53)
CIE-LCHlch(9.61, 11.25, 352.17°)
OKLaboklab(22.51% 0.0334 -0.0039)
OKLCHoklch(22.51% 0.034 353.3)
XYZxyz(1.3650, 1.0762, 1.2980)
Luminance0.0108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28151D #152820
analogous
#281527 #28151D #281715
triadic
#28151D #1D2815 #151D28
tetradic
#28151D #272815 #152820 #171528
square
#28151D #272815 #152820 #171528
split-complementary
#28151D #152817 #152728
monochromatic
#140B0F #140B0F #28151D #502A3A #783F57

Accessibility & contrast

On white

17.28
#28151D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28151D
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28151D#FFFFFF#000000##FFFFFF
##28151D1.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28151d;
/* rgb */ color: rgb(40, 21, 29);
/* oklch */ color: oklch(22.5% 0.034 353.3);
Tailwind
colors: {
  custom: {
    50: '#625258',
    500: '#28151d',
    950: '#000000',
  },
}
SCSS
$custom: #28151d;
$custom-light: #625258;
$custom-dark: #000000;
JSON
{
  "hex": "#28151d",
  "rgb": {
    "r": 40,
    "g": 21,
    "b": 29
  },
  "hsl": {
    "h": 334.737,
    "s": 31.148,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22514,
    "c": 0.03362,
    "h": 353.3
  },
  "luminance": 0.01076
}

Semantic roles & 50–950 ramp

primary
#28151D
secondary
#3C5D4F
accent
#C79C60
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28151D

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

Preview Lab → · Contrast checker → · Palette generator →

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