#280421#280421

#280421 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.6% C 0.074 H 336.8°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#280421
RGBrgb(40, 4, 33)
HSLhsl(312, 82%, 9%)
HSVhsv(312, 90%, 16%)
CMYKcmyk(0%, 90%, 17.5%, 84.3%)
CIE-LABlab(5.85, 22.01, -10.28)
CIE-LCHlch(5.85, 24.29, 334.97°)
OKLaboklab(19.62% 0.0677 -0.029)
OKLCHoklch(19.62% 0.074 336.8)
XYZxyz(1.1930, 0.6479, 1.5008)
Luminance0.0065 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280421 #04280B
analogous
#1D0428 #280421 #28040F
triadic
#280421 #212804 #042128
tetradic
#280421 #281D04 #04280B #040F28
square
#280421 #281D04 #04280B #040F28
split-complementary
#280421 #0F2804 #04281D
monochromatic
#1C0317 #1C0317 #280421 #600A4F #970F7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##280421#FFFFFF#000000##FFFFFF
##2804211.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)
#050F22
Deuteranopia (green-blind)
#101520
Tritanopia (blue-blind)
#2B0611
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #280421;
/* rgb */ color: rgb(40, 4, 33);
/* oklch */ color: oklch(19.6% 0.074 336.8);
Tailwind
colors: {
  custom: {
    50: '#63485c',
    500: '#280421',
    950: '#000000',
  },
}
SCSS
$custom: #280421;
$custom-light: #63485c;
$custom-dark: #000000;
JSON
{
  "hex": "#280421",
  "rgb": {
    "r": 40,
    "g": 4,
    "b": 33
  },
  "hsl": {
    "h": 311.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19618,
    "c": 0.07364,
    "h": 336.8
  },
  "luminance": 0.00648
}

Semantic roles & 50–950 ramp

primary
#280421
secondary
#1D6B2C
accent
#F85730
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050004
muted
#7A7779

Preview Lab

Preview with #280421

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

Preview Lab → · Contrast checker → · Palette generator →

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