#280211#280211

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

Color values

HEX#280211
RGBrgb(40, 2, 17)
HSLhsl(336, 90%, 8%)
HSVhsv(336, 95%, 16%)
CMYKcmyk(0%, 95%, 57.5%, 84.3%)
CIE-LABlab(4.83, 19.69, 0.02)
CIE-LCHlch(4.83, 19.69, 0.07°)
OKLaboklab(18.38% 0.0678 0.0003)
OKLCHoklch(18.38% 0.068 0.3)
XYZxyz(0.9980, 0.5351, 0.5809)
Luminance0.0053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280211 #022819
analogous
#280224 #280211 #280602
triadic
#280211 #112802 #021128
tetradic
#280211 #242802 #022819 #060228
square
#280211 #242802 #022819 #060228
split-complementary
#280211 #022806 #022428
monochromatic
#1D010C #1D010C #280211 #62052A #9D0843

Accessibility & contrast

On white

18.97
#280211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280211
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280211#FFFFFF#000000##FFFFFF
##2802111.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090B11
Deuteranopia (green-blind)
#141310
Tritanopia (blue-blind)
#2C0007
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #280211;
/* rgb */ color: rgb(40, 2, 17);
/* oklch */ color: oklch(18.4% 0.068 0.3);
Tailwind
colors: {
  custom: {
    50: '#64474f',
    500: '#280211',
    950: '#000000',
  },
}
SCSS
$custom: #280211;
$custom-light: #64474f;
$custom-dark: #000000;
JSON
{
  "hex": "#280211",
  "rgb": {
    "r": 40,
    "g": 2,
    "b": 17
  },
  "hsl": {
    "h": 336.316,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.18382,
    "c": 0.06778,
    "h": 0.3
  },
  "luminance": 0.00535
}

Semantic roles & 50–950 ramp

primary
#280211
secondary
#196D4C
accent
#FFAA29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #280211

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

Preview Lab → · Contrast checker → · Palette generator →

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