#280202#280202

#280202 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 17.9% C 0.066 H 27.2°. Best body text is #FFFFFF at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#280202
RGBrgb(40, 2, 2)
HSLhsl(0, 90%, 8%)
HSVhsv(0, 95%, 16%)
CMYKcmyk(0%, 95%, 95%, 84.3%)
CIE-LABlab(4.51, 17.69, 6.26)
CIE-LCHlch(4.51, 18.77, 19.48°)
OKLaboklab(17.89% 0.059 0.0304)
OKLCHoklch(17.89% 0.066 27.2)
XYZxyz(0.9079, 0.4991, 0.1059)
Luminance0.0050 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280202 #022828
analogous
#280215 #280202 #281502
triadic
#280202 #022802 #020228
tetradic
#280202 #152802 #022828 #150228
square
#280202 #152802 #022828 #150228
split-complementary
#280202 #022815 #021528
monochromatic
#1D0101 #1D0101 #280202 #620505 #9D0808

Accessibility & contrast

On white

19.09
#280202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#280202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280202
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280202#FFFFFF#000000##FFFFFF
##2802021.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0A02
Deuteranopia (green-blind)
#161301
Tritanopia (blue-blind)
#2D0002
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #280202;
/* rgb */ color: rgb(40, 2, 2);
/* oklch */ color: oklch(17.9% 0.066 27.2);
Tailwind
colors: {
  custom: {
    50: '#634748',
    500: '#280202',
    950: '#000000',
  },
}
SCSS
$custom: #280202;
$custom-light: #634748;
$custom-dark: #000000;
JSON
{
  "hex": "#280202",
  "rgb": {
    "r": 40,
    "g": 2,
    "b": 2
  },
  "hsl": {
    "h": 0,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.17887,
    "c": 0.06634,
    "h": 27.2
  },
  "luminance": 0.00499
}

Semantic roles & 50–950 ramp

primary
#280202
secondary
#196D6D
accent
#FFFF29
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #280202

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

Preview Lab → · Contrast checker → · Palette generator →

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