#28010C#28010C

#28010C is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.0% C 0.069 H 7.4°. Best body text is #FFFFFF at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#28010C
RGBrgb(40, 1, 12)
HSLhsl(343, 95%, 8%)
HSVhsv(343, 98%, 16%)
CMYKcmyk(0%, 97.5%, 70%, 84.3%)
CIE-LABlab(4.51, 19.38, 2.14)
CIE-LCHlch(4.51, 19.50, 6.31°)
OKLaboklab(17.99% 0.0681 0.0089)
OKLCHoklch(17.99% 0.069 7.4)
XYZxyz(0.9524, 0.4995, 0.3940)
Luminance0.0050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28010C #01281D
analogous
#28011F #28010C #280901
triadic
#28010C #0C2801 #010C28
tetradic
#28010C #1F2801 #01281D #090128
square
#28010C #1F2801 #01281D #090128
split-complementary
#28010C #012809 #011F28
monochromatic
#1E0109 #1E0109 #28010C #64021E #9F0430

Accessibility & contrast

On white

19.09
#28010C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#28010C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28010C
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28010C#FFFFFF#000000##FFFFFF
##28010C1.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090A0C
Deuteranopia (green-blind)
#14130B
Tritanopia (blue-blind)
#2D0005
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #28010c;
/* rgb */ color: rgb(40, 1, 12);
/* oklch */ color: oklch(18.0% 0.069 7.4);
Tailwind
colors: {
  custom: {
    50: '#64464c',
    500: '#28010c',
    950: '#000000',
  },
}
SCSS
$custom: #28010c;
$custom-light: #64464c;
$custom-dark: #000000;
JSON
{
  "hex": "#28010c",
  "rgb": {
    "r": 40,
    "g": 1,
    "b": 12
  },
  "hsl": {
    "h": 343.077,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.17986,
    "c": 0.06868,
    "h": 7.4
  },
  "luminance": 0.00499
}

Semantic roles & 50–950 ramp

primary
#28010C
secondary
#166F56
accent
#FFC329
background
#F6F3F4
surface
#EBE5E7
border
#C6C1C3
text
#060001
muted
#7A7677

Preview Lab

Preview with #28010C

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

Preview Lab → · Contrast checker → · Palette generator →

#28010C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva