#280312#280312

#280312 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.6% C 0.066 H 359.5°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#280312
RGBrgb(40, 3, 18)
HSLhsl(336, 86%, 8%)
HSVhsv(336, 93%, 16%)
CMYKcmyk(0%, 92.5%, 55%, 84.3%)
CIE-LABlab(5.06, 19.41, -0.24)
CIE-LCHlch(5.06, 19.41, 359.28°)
OKLaboklab(18.62% 0.0657 -0.0006)
OKLCHoklch(18.62% 0.066 359.5)
XYZxyz(1.0169, 0.5600, 0.6267)
Luminance0.0056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280312 #032819
analogous
#280324 #280312 #280603
triadic
#280312 #122803 #031228
tetradic
#280312 #242803 #032819 #060328
square
#280312 #242803 #032819 #060328
split-complementary
#280312 #032806 #032428
monochromatic
#1C020D #1C020D #280312 #61072C #9A0C45

Accessibility & contrast

On white

18.88
#280312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#280312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280312
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280312#FFFFFF#000000##FFFFFF
##2803121.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0C12
Deuteranopia (green-blind)
#141411
Tritanopia (blue-blind)
#2C0008
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #280312;
/* rgb */ color: rgb(40, 3, 18);
/* oklch */ color: oklch(18.6% 0.066 359.5);
Tailwind
colors: {
  custom: {
    50: '#644750',
    500: '#280312',
    950: '#000000',
  },
}
SCSS
$custom: #280312;
$custom-light: #644750;
$custom-dark: #000000;
JSON
{
  "hex": "#280312",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 18
  },
  "hsl": {
    "h": 335.676,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18622,
    "c": 0.06573,
    "h": 359.5
  },
  "luminance": 0.0056
}

Semantic roles & 50–950 ramp

primary
#280312
secondary
#1B6C4B
accent
#FCA82C
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #280312

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

Preview Lab → · Contrast checker → · Palette generator →

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