#270104#270104

#270104 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 17.5% C 0.067 H 21.1°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#270104
RGBrgb(39, 1, 4)
HSLhsl(355, 95%, 8%)
HSVhsv(355, 97%, 15%)
CMYKcmyk(0%, 97.4%, 89.7%, 84.7%)
CIE-LABlab(4.17, 17.62, 4.93)
CIE-LCHlch(4.17, 18.30, 15.64°)
OKLaboklab(17.49% 0.0624 0.024)
OKLCHoklch(17.49% 0.067 21.1)
XYZxyz(0.8696, 0.4620, 0.1582)
Luminance0.0046 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270104 #012724
analogous
#270117 #270104 #271101
triadic
#270104 #042701 #010427
tetradic
#270104 #172701 #012724 #110127
square
#270104 #172701 #012724 #110127
split-complementary
#270104 #012711 #011727
monochromatic
#1E0103 #1E0103 #270104 #63030A #9E0410

Accessibility & contrast

On white

19.22
#270104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#270104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270104
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270104#FFFFFF#000000##FFFFFF
##2701041.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0904
Deuteranopia (green-blind)
#151203
Tritanopia (blue-blind)
#2C0002
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #270104;
/* rgb */ color: rgb(39, 1, 4);
/* oklch */ color: oklch(17.5% 0.067 21.1);
Tailwind
colors: {
  custom: {
    50: '#624648',
    500: '#270104',
    950: '#000000',
  },
}
SCSS
$custom: #270104;
$custom-light: #624648;
$custom-dark: #000000;
JSON
{
  "hex": "#270104",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 4
  },
  "hsl": {
    "h": 355.263,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17487,
    "c": 0.06688,
    "h": 21.1
  },
  "luminance": 0.00462
}

Semantic roles & 50–950 ramp

primary
#270104
secondary
#166E67
accent
#FFEE29
background
#F6F3F4
surface
#EBE5E6
border
#C6C1C2
text
#050000
muted
#7A7777

Preview Lab

Preview with #270104

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

Preview Lab → · Contrast checker → · Palette generator →

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