#28031F#28031F

#28031F is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.3% C 0.074 H 339.3°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#28031F
RGBrgb(40, 3, 31)
HSLhsl(315, 86%, 8%)
HSVhsv(315, 93%, 16%)
CMYKcmyk(0%, 92.5%, 22.5%, 84.3%)
CIE-LABlab(5.56, 22.03, -9.17)
CIE-LCHlch(5.56, 23.86, 337.41°)
OKLaboklab(19.31% 0.0695 -0.0262)
OKLCHoklch(19.31% 0.074 339.3)
XYZxyz(1.1550, 0.6153, 1.3540)
Luminance0.0062 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28031F #03280C
analogous
#1E0328 #28031F #28030C
triadic
#28031F #1F2803 #031F28
tetradic
#28031F #281E03 #03280C #030C28
square
#28031F #281E03 #03280C #030C28
split-complementary
#28031F #0C2803 #03281E
monochromatic
#1C0216 #1C0216 #28031F #61074B #9A0C77

Accessibility & contrast

On white

18.70
#28031F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28031F
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28031F#FFFFFF#000000##FFFFFF
##28031F1.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050E20
Deuteranopia (green-blind)
#11141E
Tritanopia (blue-blind)
#2B040F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #28031f;
/* rgb */ color: rgb(40, 3, 31);
/* oklch */ color: oklch(19.3% 0.074 339.3);
Tailwind
colors: {
  custom: {
    50: '#63475a',
    500: '#28031f',
    950: '#000000',
  },
}
SCSS
$custom: #28031f;
$custom-light: #63475a;
$custom-dark: #000000;
JSON
{
  "hex": "#28031f",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 31
  },
  "hsl": {
    "h": 314.595,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19312,
    "c": 0.07429,
    "h": 339.3
  },
  "luminance": 0.00615
}

Semantic roles & 50–950 ramp

primary
#28031F
secondary
#1B6C2F
accent
#FC5E2C
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050003
muted
#7A7778

Preview Lab

Preview with #28031F

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

Preview Lab → · Contrast checker → · Palette generator →

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