#28031B#28031B

#28031B is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.1% C 0.071 H 345.0°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#28031B
RGBrgb(40, 3, 27)
HSLhsl(321, 86%, 8%)
HSVhsv(321, 93%, 16%)
CMYKcmyk(0%, 92.5%, 32.5%, 84.3%)
CIE-LABlab(5.38, 21.13, -6.29)
CIE-LCHlch(5.38, 22.05, 343.43°)
OKLaboklab(19.07% 0.0687 -0.0184)
OKLCHoklch(19.07% 0.071 345)
XYZxyz(1.1055, 0.5955, 1.0934)
Luminance0.0060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28031B #032810
analogous
#220328 #28031B #280308
triadic
#28031B #1B2803 #031B28
tetradic
#28031B #282203 #032810 #030828
square
#28031B #282203 #032810 #030828
split-complementary
#28031B #082803 #032822
monochromatic
#1C0213 #1C0213 #28031B #610741 #9A0C68

Accessibility & contrast

On white

18.77
#28031B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#28031B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28031B
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28031B#FFFFFF#000000##FFFFFF
##28031B1.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060E1C
Deuteranopia (green-blind)
#12141A
Tritanopia (blue-blind)
#2B030D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #28031b;
/* rgb */ color: rgb(40, 3, 27);
/* oklch */ color: oklch(19.1% 0.071 345.0);
Tailwind
colors: {
  custom: {
    50: '#634757',
    500: '#28031b',
    950: '#000000',
  },
}
SCSS
$custom: #28031b;
$custom-light: #634757;
$custom-dark: #000000;
JSON
{
  "hex": "#28031b",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 27
  },
  "hsl": {
    "h": 321.081,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19071,
    "c": 0.07115,
    "h": 345
  },
  "luminance": 0.00595
}

Semantic roles & 50–950 ramp

primary
#28031B
secondary
#1B6C37
accent
#FC752C
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050003
muted
#7A7778

Preview Lab

Preview with #28031B

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

Preview Lab → · Contrast checker → · Palette generator →

#28031B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva