#280317#280317

#280317 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.9% C 0.068 H 351.2°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#280317
RGBrgb(40, 3, 23)
HSLhsl(328, 86%, 8%)
HSVhsv(328, 93%, 16%)
CMYKcmyk(0%, 92.5%, 42.5%, 84.3%)
CIE-LABlab(5.22, 20.32, -3.38)
CIE-LCHlch(5.22, 20.60, 350.55°)
OKLaboklab(18.86% 0.0676 -0.0104)
OKLCHoklch(18.86% 0.068 351.2)
XYZxyz(1.0624, 0.5782, 0.8661)
Luminance0.0058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280317 #032814
analogous
#260328 #280317 #280304
triadic
#280317 #172803 #031728
tetradic
#280317 #282603 #032814 #030428
square
#280317 #282603 #032814 #030428
split-complementary
#280317 #042803 #032826
monochromatic
#1C0210 #1C0210 #280317 #610738 #9A0C58

Accessibility & contrast

On white

18.82
#280317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280317
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280317#FFFFFF#000000##FFFFFF
##2803171.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080D18
Deuteranopia (green-blind)
#131416
Tritanopia (blue-blind)
#2C010B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #280317;
/* rgb */ color: rgb(40, 3, 23);
/* oklch */ color: oklch(18.9% 0.068 351.2);
Tailwind
colors: {
  custom: {
    50: '#644753',
    500: '#280317',
    950: '#000000',
  },
}
SCSS
$custom: #280317;
$custom-light: #644753;
$custom-dark: #000000;
JSON
{
  "hex": "#280317",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 23
  },
  "hsl": {
    "h": 327.568,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18855,
    "c": 0.06841,
    "h": 351.2
  },
  "luminance": 0.00578
}

Semantic roles & 50–950 ramp

primary
#280317
secondary
#1B6C40
accent
#FC8B2C
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#050002
muted
#7A7778

Preview Lab

Preview with #280317

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

Preview Lab → · Contrast checker → · Palette generator →

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