#270408#270408

#270408 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 18.2% C 0.060 H 17.4°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#270408
RGBrgb(39, 4, 8)
HSLhsl(353, 81%, 8%)
HSVhsv(353, 90%, 15%)
CMYKcmyk(0%, 89.7%, 79.5%, 84.7%)
CIE-LABlab(4.84, 16.89, 4.28)
CIE-LCHlch(4.84, 17.42, 14.21°)
OKLaboklab(18.25% 0.0573 0.018)
OKLCHoklch(18.25% 0.06 17.4)
XYZxyz(0.9240, 0.5358, 0.2845)
Luminance0.0054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270408 #042723
analogous
#270419 #270408 #271104
triadic
#270408 #082704 #040827
tetradic
#270408 #192704 #042723 #110427
square
#270408 #192704 #042723 #110427
split-complementary
#270408 #042711 #041927
monochromatic
#1C0306 #1C0306 #270408 #5F0A13 #960F1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##270408#FFFFFF#000000##FFFFFF
##2704081.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)
#0D0C08
Deuteranopia (green-blind)
#161307
Tritanopia (blue-blind)
#2C0006
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #270408;
/* rgb */ color: rgb(39, 4, 8);
/* oklch */ color: oklch(18.2% 0.060 17.4);
Tailwind
colors: {
  custom: {
    50: '#62484a',
    500: '#270408',
    950: '#000000',
  },
}
SCSS
$custom: #270408;
$custom-light: #62484a;
$custom-dark: #000000;
JSON
{
  "hex": "#270408",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 8
  },
  "hsl": {
    "h": 353.143,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18249,
    "c": 0.06005,
    "h": 17.4
  },
  "luminance": 0.00536
}

Semantic roles & 50–950 ramp

primary
#270408
secondary
#1D6A61
accent
#F8E130
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#050001
muted
#7A7777

Preview Lab

Preview with #270408

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

Preview Lab → · Contrast checker → · Palette generator →

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