#280712#280712

#280712 is a very dark, muted pink. Relative luminance 0.006; OKLCH L 19.4% C 0.057 H 3.2°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#280712
RGBrgb(40, 7, 18)
HSLhsl(340, 70%, 9%)
HSVhsv(340, 83%, 16%)
CMYKcmyk(0%, 82.5%, 55%, 84.3%)
CIE-LABlab(5.84, 17.57, 0.90)
CIE-LCHlch(5.84, 17.59, 2.94°)
OKLaboklab(19.37% 0.0567 0.0032)
OKLCHoklch(19.37% 0.057 3.2)
XYZxyz(1.0603, 0.6469, 0.6412)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280712 #07281D
analogous
#280723 #280712 #280D07
triadic
#280712 #122807 #071228
tetradic
#280712 #232807 #07281D #0D0728
square
#280712 #232807 #07281D #0D0728
split-complementary
#280712 #07280D #072328
monochromatic
#1A050C #1A050C #280712 #5C1029 #901941

Accessibility & contrast

On white

18.59
#280712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#280712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280712
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280712#FFFFFF#000000##FFFFFF
##2807121.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0F12
Deuteranopia (green-blind)
#161511
Tritanopia (blue-blind)
#2C040B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #280712;
/* rgb */ color: rgb(40, 7, 18);
/* oklch */ color: oklch(19.4% 0.057 3.2);
Tailwind
colors: {
  custom: {
    50: '#644950',
    500: '#280712',
    950: '#000000',
  },
}
SCSS
$custom: #280712;
$custom-light: #644950;
$custom-dark: #000000;
JSON
{
  "hex": "#280712",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 18
  },
  "hsl": {
    "h": 340,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19369,
    "c": 0.0568,
    "h": 3.2
  },
  "luminance": 0.00647
}

Semantic roles & 50–950 ramp

primary
#280712
secondary
#236851
accent
#EDB23B
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#050102
muted
#7A7778

Preview Lab

Preview with #280712

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

Preview Lab → · Contrast checker → · Palette generator →

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