#28141E#28141E

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

Color values

HEX#28141E
RGBrgb(40, 20, 30)
HSLhsl(330, 33%, 12%)
HSVhsv(330, 50%, 16%)
CMYKcmyk(0%, 50%, 25%, 84.3%)
CIE-LABlab(9.36, 12.05, -2.65)
CIE-LCHlch(9.36, 12.34, 347.58°)
OKLaboklab(22.34% 0.0359 -0.0069)
OKLCHoklch(22.34% 0.037 349.1)
XYZxyz(1.3596, 1.0453, 1.3582)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28141E #14281E
analogous
#281428 #28141E #281414
triadic
#28141E #1E2814 #141E28
tetradic
#28141E #282814 #14281E #141428
square
#28141E #282814 #14281E #141428
split-complementary
#28141E #142814 #142828
monochromatic
#140A0F #140A0F #28141E #51283D #7A3D5B

Accessibility & contrast

On white

17.37
#28141E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28141E
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28141E#FFFFFF#000000##FFFFFF
##28141E1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16181E
Deuteranopia (green-blind)
#1B1B1D
Tritanopia (blue-blind)
#2B1418
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #28141e;
/* rgb */ color: rgb(40, 20, 30);
/* oklch */ color: oklch(22.3% 0.037 349.1);
Tailwind
colors: {
  custom: {
    50: '#625259',
    500: '#28141e',
    950: '#000000',
  },
}
SCSS
$custom: #28141e;
$custom-light: #625259;
$custom-dark: #000000;
JSON
{
  "hex": "#28141e",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 30
  },
  "hsl": {
    "h": 330,
    "s": 33.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22338,
    "c": 0.0366,
    "h": 349.1
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#28141E
secondary
#3A5E4C
accent
#C9945E
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28141E

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

Preview Lab → · Contrast checker → · Palette generator →

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