#280117#280117

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

Color values

HEX#280117
RGBrgb(40, 1, 23)
HSLhsl(326, 95%, 8%)
HSVhsv(326, 98%, 16%)
CMYKcmyk(0%, 97.5%, 42.5%, 84.3%)
CIE-LABlab(4.83, 21.24, -3.96)
CIE-LCHlch(4.83, 21.60, 349.45°)
OKLaboklab(18.47% 0.0725 -0.0126)
OKLCHoklch(18.47% 0.074 350.1)
XYZxyz(1.0406, 0.5348, 0.8589)
Luminance0.0053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280117 #012812
analogous
#250128 #280117 #280103
triadic
#280117 #172801 #011728
tetradic
#280117 #282501 #012812 #010328
square
#280117 #282501 #012812 #010328
split-complementary
#280117 #032801 #012825
monochromatic
#1E0111 #1E0111 #280117 #640239 #9F045C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##280117#FFFFFF#000000##FFFFFF
##2801171.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)
#060C18
Deuteranopia (green-blind)
#121316
Tritanopia (blue-blind)
#2C000A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #280117;
/* rgb */ color: rgb(40, 1, 23);
/* oklch */ color: oklch(18.5% 0.074 350.1);
Tailwind
colors: {
  custom: {
    50: '#644653',
    500: '#280117',
    950: '#000000',
  },
}
SCSS
$custom: #280117;
$custom-light: #644653;
$custom-dark: #000000;
JSON
{
  "hex": "#280117",
  "rgb": {
    "r": 40,
    "g": 1,
    "b": 23
  },
  "hsl": {
    "h": 326.154,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18467,
    "c": 0.07357,
    "h": 350.1
  },
  "luminance": 0.00535
}

Semantic roles & 50–950 ramp

primary
#280117
secondary
#166F3D
accent
#FF8629
background
#F6F3F4
surface
#EBE5E7
border
#C6C1C3
text
#050002
muted
#7A7778

Preview Lab

Preview with #280117

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

Preview Lab → · Contrast checker → · Palette generator →

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