#280418#280418

#280418 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.1% C 0.067 H 350.2°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#280418
RGBrgb(40, 4, 24)
HSLhsl(327, 82%, 9%)
HSVhsv(327, 90%, 16%)
CMYKcmyk(0%, 90%, 40%, 84.3%)
CIE-LABlab(5.46, 20.04, -3.80)
CIE-LCHlch(5.46, 20.40, 349.26°)
OKLaboklab(19.09% 0.0656 -0.0114)
OKLCHoklch(19.09% 0.067 350.2)
XYZxyz(1.0834, 0.6040, 0.9235)
Luminance0.0060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280418 #042814
analogous
#260428 #280418 #280406
triadic
#280418 #182804 #041828
tetradic
#280418 #282604 #042814 #040628
square
#280418 #282604 #042814 #040628
split-complementary
#280418 #062804 #042826
monochromatic
#1C0311 #1C0311 #280418 #600A39 #970F5B

Accessibility & contrast

On white

18.74
#280418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280418
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280418#FFFFFF#000000##FFFFFF
##2804181.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090E19
Deuteranopia (green-blind)
#141417
Tritanopia (blue-blind)
#2C030C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #280418;
/* rgb */ color: rgb(40, 4, 24);
/* oklch */ color: oklch(19.1% 0.067 350.2);
Tailwind
colors: {
  custom: {
    50: '#644854',
    500: '#280418',
    950: '#000000',
  },
}
SCSS
$custom: #280418;
$custom-light: #644854;
$custom-dark: #000000;
JSON
{
  "hex": "#280418",
  "rgb": {
    "r": 40,
    "g": 4,
    "b": 24
  },
  "hsl": {
    "h": 326.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19093,
    "c": 0.06662,
    "h": 350.2
  },
  "luminance": 0.00604
}

Semantic roles & 50–950 ramp

primary
#280418
secondary
#1D6B40
accent
#F88930
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#050002
muted
#7A7778

Preview Lab

Preview with #280418

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

Preview Lab → · Contrast checker → · Palette generator →

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