#280512#280512

#280512 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.0% C 0.061 H 1.3°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#280512
RGBrgb(40, 5, 18)
HSLhsl(338, 78%, 9%)
HSVhsv(338, 88%, 16%)
CMYKcmyk(0%, 87.5%, 55%, 84.3%)
CIE-LABlab(5.45, 18.49, 0.33)
CIE-LCHlch(5.45, 18.49, 1.03°)
OKLaboklab(19% 0.0611 0.0013)
OKLCHoklch(19% 0.061 1.3)
XYZxyz(1.0386, 0.6035, 0.6339)
Luminance0.0060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280512 #05281B
analogous
#280524 #280512 #280A05
triadic
#280512 #122805 #051228
tetradic
#280512 #242805 #05281B #0A0528
square
#280512 #242805 #05281B #0A0528
split-complementary
#280512 #05280A #052428
monochromatic
#1B030C #1B030C #280512 #5E0C2A #951343

Accessibility & contrast

On white

18.74
#280512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280512
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280512#FFFFFF#000000##FFFFFF
##2805121.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0E12
Deuteranopia (green-blind)
#151511
Tritanopia (blue-blind)
#2C020A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #280512;
/* rgb */ color: rgb(40, 5, 18);
/* oklch */ color: oklch(19.0% 0.061 1.3);
Tailwind
colors: {
  custom: {
    50: '#644850',
    500: '#280512',
    950: '#000000',
  },
}
SCSS
$custom: #280512;
$custom-light: #644850;
$custom-dark: #000000;
JSON
{
  "hex": "#280512",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 18
  },
  "hsl": {
    "h": 337.714,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19003,
    "c": 0.06106,
    "h": 1.3
  },
  "luminance": 0.00603
}

Semantic roles & 50–950 ramp

primary
#280512
secondary
#1F6A4E
accent
#F4AD34
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#050002
muted
#7A7778

Preview Lab

Preview with #280512

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

Preview Lab → · Contrast checker → · Palette generator →

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