#280221#280221

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

Color values

HEX#280221
RGBrgb(40, 2, 33)
HSLhsl(311, 90%, 8%)
HSVhsv(311, 95%, 16%)
CMYKcmyk(0%, 95%, 17.5%, 84.3%)
CIE-LABlab(5.46, 22.99, -10.87)
CIE-LCHlch(5.46, 25.43, 334.68°)
OKLaboklab(19.26% 0.0719 -0.0312)
OKLCHoklch(19.26% 0.078 336.5)
XYZxyz(1.1713, 0.6045, 1.4935)
Luminance0.0060 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280221 #022809
analogous
#1C0228 #280221 #28020E
triadic
#280221 #212802 #022128
tetradic
#280221 #281C02 #022809 #020E28
square
#280221 #281C02 #022809 #020E28
split-complementary
#280221 #0E2802 #02281C
monochromatic
#1D0118 #1D0118 #280221 #620551 #9D0881

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##280221#FFFFFF#000000##FFFFFF
##2802211.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)
#020E22
Deuteranopia (green-blind)
#0F1420
Tritanopia (blue-blind)
#2B0410
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #280221;
/* rgb */ color: rgb(40, 2, 33);
/* oklch */ color: oklch(19.3% 0.078 336.5);
Tailwind
colors: {
  custom: {
    50: '#63475c',
    500: '#280221',
    950: '#000000',
  },
}
SCSS
$custom: #280221;
$custom-light: #63475c;
$custom-dark: #000000;
JSON
{
  "hex": "#280221",
  "rgb": {
    "r": 40,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 311.053,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.19263,
    "c": 0.07841,
    "h": 336.5
  },
  "luminance": 0.00604
}

Semantic roles & 50–950 ramp

primary
#280221
secondary
#196D28
accent
#FF5029
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050004
muted
#7A7779

Preview Lab

Preview with #280221

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

Preview Lab → · Contrast checker → · Palette generator →

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