#280217#280217

#280217 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.7% C 0.071 H 350.7°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#280217
RGBrgb(40, 2, 23)
HSLhsl(327, 90%, 8%)
HSVhsv(327, 95%, 16%)
CMYKcmyk(0%, 95%, 42.5%, 84.3%)
CIE-LABlab(5.03, 20.78, -3.67)
CIE-LCHlch(5.03, 21.10, 349.98°)
OKLaboklab(18.66% 0.07 -0.0115)
OKLCHoklch(18.66% 0.071 350.7)
XYZxyz(1.0515, 0.5565, 0.8625)
Luminance0.0056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280217 #022813
analogous
#260228 #280217 #280204
triadic
#280217 #172802 #021728
tetradic
#280217 #282602 #022813 #020428
square
#280217 #282602 #022813 #020428
split-complementary
#280217 #042802 #022826
monochromatic
#1D0111 #1D0111 #280217 #620539 #9D085A

Accessibility & contrast

On white

18.90
#280217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280217
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280217#FFFFFF#000000##FFFFFF
##2802171.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070C18
Deuteranopia (green-blind)
#131416
Tritanopia (blue-blind)
#2C010A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #280217;
/* rgb */ color: rgb(40, 2, 23);
/* oklch */ color: oklch(18.7% 0.071 350.7);
Tailwind
colors: {
  custom: {
    50: '#644753',
    500: '#280217',
    950: '#000000',
  },
}
SCSS
$custom: #280217;
$custom-light: #644753;
$custom-dark: #000000;
JSON
{
  "hex": "#280217",
  "rgb": {
    "r": 40,
    "g": 2,
    "b": 23
  },
  "hsl": {
    "h": 326.842,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.18663,
    "c": 0.07094,
    "h": 350.7
  },
  "luminance": 0.00556
}

Semantic roles & 50–950 ramp

primary
#280217
secondary
#196D3E
accent
#FF8929
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#050002
muted
#7A7778

Preview Lab

Preview with #280217

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

Preview Lab → · Contrast checker → · Palette generator →

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