#28141C#28141C

#28141C is a very dark, muted pink. Relative luminance 0.010; OKLCH L 22.3% C 0.035 H 354.8°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#28141C
RGBrgb(40, 20, 28)
HSLhsl(336, 33%, 12%)
HSVhsv(336, 50%, 16%)
CMYKcmyk(0%, 50%, 30%, 84.3%)
CIE-LABlab(9.28, 11.66, -1.26)
CIE-LCHlch(9.28, 11.72, 353.84°)
OKLaboklab(22.25% 0.035 -0.0032)
OKLCHoklch(22.25% 0.035 354.8)
XYZxyz(1.3349, 1.0354, 1.2279)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28141C #142820
analogous
#281426 #28141C #281614
triadic
#28141C #1C2814 #141C28
tetradic
#28141C #262814 #142820 #161428
square
#28141C #262814 #142820 #161428
split-complementary
#28141C #142816 #142628
monochromatic
#140A0E #140A0E #28141C #512839 #7A3D55

Accessibility & contrast

On white

17.40
#28141C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#28141C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28141C
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28141C#FFFFFF#000000##FFFFFF
##28141C1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16181C
Deuteranopia (green-blind)
#1B1B1C
Tritanopia (blue-blind)
#2B1317
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #28141c;
/* rgb */ color: rgb(40, 20, 28);
/* oklch */ color: oklch(22.3% 0.035 354.8);
Tailwind
colors: {
  custom: {
    50: '#625157',
    500: '#28141c',
    950: '#000000',
  },
}
SCSS
$custom: #28141c;
$custom-light: #625157;
$custom-dark: #000000;
JSON
{
  "hex": "#28141c",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 28
  },
  "hsl": {
    "h": 336,
    "s": 33.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22251,
    "c": 0.03518,
    "h": 354.8
  },
  "luminance": 0.01035
}

Semantic roles & 50–950 ramp

primary
#28141C
secondary
#3A5E4F
accent
#C99F5E
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28141C

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

Preview Lab → · Contrast checker → · Palette generator →

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