#28051A#28051A

#28051A is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.4% C 0.066 H 347.4°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#28051A
RGBrgb(40, 5, 26)
HSLhsl(324, 78%, 9%)
HSVhsv(324, 88%, 16%)
CMYKcmyk(0%, 87.5%, 35%, 84.3%)
CIE-LABlab(5.73, 19.97, -4.98)
CIE-LCHlch(5.73, 20.58, 346.00°)
OKLaboklab(19.38% 0.0641 -0.0143)
OKLCHoklch(19.38% 0.066 347.4)
XYZxyz(1.1158, 0.6344, 1.0408)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28051A #052813
analogous
#250528 #28051A #280509
triadic
#28051A #1A2805 #051A28
tetradic
#28051A #282505 #052813 #050928
square
#28051A #282505 #052813 #050928
split-complementary
#28051A #092805 #052825
monochromatic
#1B0312 #1B0312 #28051A #5E0C3D #951361

Accessibility & contrast

On white

18.64
#28051A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#28051A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28051A
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28051A#FFFFFF#000000##FFFFFF
##28051A1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090F1B
Deuteranopia (green-blind)
#131519
Tritanopia (blue-blind)
#2C040E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #28051a;
/* rgb */ color: rgb(40, 5, 26);
/* oklch */ color: oklch(19.4% 0.066 347.4);
Tailwind
colors: {
  custom: {
    50: '#634856',
    500: '#28051a',
    950: '#000000',
  },
}
SCSS
$custom: #28051a;
$custom-light: #634856;
$custom-dark: #000000;
JSON
{
  "hex": "#28051a",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 26
  },
  "hsl": {
    "h": 324,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.1938,
    "c": 0.06565,
    "h": 347.4
  },
  "luminance": 0.00634
}

Semantic roles & 50–950 ramp

primary
#28051A
secondary
#1F6A3D
accent
#F48134
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050003
muted
#7A7778

Preview Lab

Preview with #28051A

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

Preview Lab → · Contrast checker → · Palette generator →

#28051A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva