#270401#270401

#270401 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 18.0% C 0.062 H 32.8°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#270401
RGBrgb(39, 4, 1)
HSLhsl(5, 95%, 8%)
HSVhsv(5, 97%, 15%)
CMYKcmyk(0%, 89.7%, 97.4%, 84.7%)
CIE-LABlab(4.70, 15.99, 6.93)
CIE-LCHlch(4.70, 17.42, 23.43°)
OKLaboklab(18.04% 0.052 0.0335)
OKLCHoklch(18.04% 0.062 32.8)
XYZxyz(0.8857, 0.5205, 0.0825)
Luminance0.0052 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270401 #012427
analogous
#270111 #270401 #271701
triadic
#270401 #012704 #040127
tetradic
#270401 #112701 #012427 #170127
square
#270401 #112701 #012427 #170127
split-complementary
#270401 #012717 #011127
monochromatic
#1E0301 #1E0301 #270401 #630A03 #9E1004

Accessibility & contrast

On white

19.02
#270401 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#270401 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270401
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270401#FFFFFF#000000##FFFFFF
##2704011.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0B01
Deuteranopia (green-blind)
#171300
Tritanopia (blue-blind)
#2C0003
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #270401;
/* rgb */ color: rgb(39, 4, 1);
/* oklch */ color: oklch(18.0% 0.062 32.8);
Tailwind
colors: {
  custom: {
    50: '#624847',
    500: '#270401',
    950: '#000000',
  },
}
SCSS
$custom: #270401;
$custom-light: #624847;
$custom-dark: #000000;
JSON
{
  "hex": "#270401",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 1
  },
  "hsl": {
    "h": 4.737,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18041,
    "c": 0.06184,
    "h": 32.8
  },
  "luminance": 0.0052
}

Semantic roles & 50–950 ramp

primary
#270401
secondary
#16676E
accent
#EEFF29
background
#F6F4F3
surface
#EBE6E5
border
#C6C2C1
text
#050000
muted
#7A7777

Preview Lab

Preview with #270401

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

Preview Lab → · Contrast checker → · Palette generator →

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