#280212#280212

#280212 is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.4% C 0.068 H 358.6°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#280212
RGBrgb(40, 2, 18)
HSLhsl(335, 90%, 8%)
HSVhsv(335, 95%, 16%)
CMYKcmyk(0%, 95%, 55%, 84.3%)
CIE-LABlab(4.86, 19.86, -0.53)
CIE-LCHlch(4.86, 19.86, 358.47°)
OKLaboklab(18.42% 0.0682 -0.0016)
OKLCHoklch(18.42% 0.068 358.6)
XYZxyz(1.0060, 0.5383, 0.6231)
Luminance0.0054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280212 #022818
analogous
#280225 #280212 #280502
triadic
#280212 #122802 #021228
tetradic
#280212 #252802 #022818 #050228
square
#280212 #252802 #022818 #050228
split-complementary
#280212 #022805 #022528
monochromatic
#1D010D #1D010D #280212 #62052C #9D0846

Accessibility & contrast

On white

18.96
#280212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280212
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280212#FFFFFF#000000##FFFFFF
##2802121.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090B12
Deuteranopia (green-blind)
#141311
Tritanopia (blue-blind)
#2C0008
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #280212;
/* rgb */ color: rgb(40, 2, 18);
/* oklch */ color: oklch(18.4% 0.068 358.6);
Tailwind
colors: {
  custom: {
    50: '#644750',
    500: '#280212',
    950: '#000000',
  },
}
SCSS
$custom: #280212;
$custom-light: #644750;
$custom-dark: #000000;
JSON
{
  "hex": "#280212",
  "rgb": {
    "r": 40,
    "g": 2,
    "b": 18
  },
  "hsl": {
    "h": 334.737,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.18424,
    "c": 0.06822,
    "h": 358.6
  },
  "luminance": 0.00538
}

Semantic roles & 50–950 ramp

primary
#280212
secondary
#196D4A
accent
#FFA529
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #280212

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

Preview Lab → · Contrast checker → · Palette generator →

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