#28031A#28031A

#28031A is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.0% C 0.070 H 346.5°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#28031A
RGBrgb(40, 3, 26)
HSLhsl(323, 86%, 8%)
HSVhsv(323, 93%, 16%)
CMYKcmyk(0%, 92.5%, 35%, 84.3%)
CIE-LABlab(5.34, 20.92, -5.56)
CIE-LCHlch(5.34, 21.65, 345.13°)
OKLaboklab(19.02% 0.0685 -0.0164)
OKLCHoklch(19.02% 0.07 346.5)
XYZxyz(1.0941, 0.5909, 1.0335)
Luminance0.0059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28031A #032811
analogous
#230328 #28031A #280307
triadic
#28031A #1A2803 #031A28
tetradic
#28031A #282303 #032811 #030728
square
#28031A #282303 #032811 #030728
split-complementary
#28031A #072803 #032823
monochromatic
#1C0213 #1C0213 #28031A #61073F #9A0C64

Accessibility & contrast

On white

18.78
#28031A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28031A
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28031A#FFFFFF#000000##FFFFFF
##28031A1.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070D1B
Deuteranopia (green-blind)
#121419
Tritanopia (blue-blind)
#2C020D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #28031a;
/* rgb */ color: rgb(40, 3, 26);
/* oklch */ color: oklch(19.0% 0.070 346.5);
Tailwind
colors: {
  custom: {
    50: '#634756',
    500: '#28031a',
    950: '#000000',
  },
}
SCSS
$custom: #28031a;
$custom-light: #634756;
$custom-dark: #000000;
JSON
{
  "hex": "#28031a",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 26
  },
  "hsl": {
    "h": 322.703,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19015,
    "c": 0.07042,
    "h": 346.5
  },
  "luminance": 0.00591
}

Semantic roles & 50–950 ramp

primary
#28031A
secondary
#1B6C3A
accent
#FC7B2C
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050003
muted
#7A7778

Preview Lab

Preview with #28031A

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

Preview Lab → · Contrast checker → · Palette generator →

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