#280412#280412

#280412 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.8% C 0.063 H 0.4°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#280412
RGBrgb(40, 4, 18)
HSLhsl(337, 82%, 9%)
HSVhsv(337, 90%, 16%)
CMYKcmyk(0%, 90%, 55%, 84.3%)
CIE-LABlab(5.26, 18.95, 0.05)
CIE-LCHlch(5.26, 18.95, 0.14°)
OKLaboklab(18.82% 0.0634 0.0004)
OKLCHoklch(18.82% 0.063 0.4)
XYZxyz(1.0277, 0.5818, 0.6303)
Luminance0.0058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280412 #04281A
analogous
#280424 #280412 #280804
triadic
#280412 #122804 #041228
tetradic
#280412 #242804 #04281A #080428
square
#280412 #242804 #04281A #080428
split-complementary
#280412 #042808 #042428
monochromatic
#1C030D #1C030D #280412 #600A2B #970F44

Accessibility & contrast

On white

18.81
#280412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#280412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280412
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280412#FFFFFF#000000##FFFFFF
##2804121.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0D12
Deuteranopia (green-blind)
#151411
Tritanopia (blue-blind)
#2C0109
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #280412;
/* rgb */ color: rgb(40, 4, 18);
/* oklch */ color: oklch(18.8% 0.063 0.4);
Tailwind
colors: {
  custom: {
    50: '#644850',
    500: '#280412',
    950: '#000000',
  },
}
SCSS
$custom: #280412;
$custom-light: #644850;
$custom-dark: #000000;
JSON
{
  "hex": "#280412",
  "rgb": {
    "r": 40,
    "g": 4,
    "b": 18
  },
  "hsl": {
    "h": 336.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18815,
    "c": 0.06335,
    "h": 0.4
  },
  "luminance": 0.00582
}

Semantic roles & 50–950 ramp

primary
#280412
secondary
#1D6B4D
accent
#F8AA30
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#050002
muted
#7A7778

Preview Lab

Preview with #280412

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

Preview Lab → · Contrast checker → · Palette generator →

#280412 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva