#282124#282124

#282124 is a dark, near-neutral pink. Relative luminance 0.017; OKLCH L 25.7% C 0.012 H 350.2°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#282124
RGBrgb(40, 33, 36)
HSLhsl(334, 10%, 14%)
HSVhsv(334, 18%, 16%)
CMYKcmyk(0%, 17.5%, 10%, 84.3%)
CIE-LABlab(13.63, 4.00, -0.78)
CIE-LCHlch(13.63, 4.08, 348.95°)
OKLaboklab(25.69% 0.0117 -0.002)
OKLCHoklch(25.69% 0.012 350.2)
XYZxyz(1.7373, 1.6662, 1.8988)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282124 #212825
analogous
#282128 #282124 #282221
triadic
#282124 #242821 #212428
tetradic
#282124 #282821 #212825 #222128
square
#282124 #282821 #212825 #222128
split-complementary
#282124 #212822 #212828
monochromatic
#110E0F #110E0F #282124 #4A3D42 #6B5860

Accessibility & contrast

On white

15.75
#282124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#282124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282124
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282124#FFFFFF#000000##FFFFFF
##2821241.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222224
Deuteranopia (green-blind)
#232324
Tritanopia (blue-blind)
#292122
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #282124;
/* rgb */ color: rgb(40, 33, 36);
/* oklch */ color: oklch(25.7% 0.012 350.2);
Tailwind
colors: {
  custom: {
    50: '#615c5e',
    500: '#282124',
    950: '#000000',
  },
}
SCSS
$custom: #282124;
$custom-light: #615c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#282124",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 36
  },
  "hsl": {
    "h": 334.286,
    "s": 9.589,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25694,
    "c": 0.01191,
    "h": 350.2
  },
  "luminance": 0.01666
}

Semantic roles & 50–950 ramp

primary
#282124
secondary
#4D5853
accent
#B39875
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050404
muted
#797979

Preview Lab

Preview with #282124

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

Preview Lab → · Contrast checker → · Palette generator →

#282124 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva