#270004#270004

#270004 is a very dark, moderate red. Relative luminance 0.004; OKLCH L 17.3% C 0.069 H 19.6°. Best body text is #FFFFFF at 19.30:1 contrast (WCAG AA passes).

Color values

HEX#270004
RGBrgb(39, 0, 4)
HSLhsl(354, 100%, 8%)
HSVhsv(354, 100%, 15%)
CMYKcmyk(0%, 100%, 89.7%, 84.7%)
CIE-LABlab(3.98, 18.03, 4.64)
CIE-LCHlch(3.98, 18.62, 14.44°)
OKLaboklab(17.26% 0.0653 0.0233)
OKLCHoklch(17.26% 0.069 19.6)
XYZxyz(0.8587, 0.4402, 0.1546)
Luminance0.0044 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270004 #002723
analogous
#270017 #270004 #270F00
triadic
#270004 #042700 #000427
tetradic
#270004 #172700 #002723 #0F0027
square
#270004 #172700 #002723 #0F0027
split-complementary
#270004 #00270F #001727
monochromatic
#1F0003 #1F0003 #270004 #64000A #A10011

Accessibility & contrast

On white

19.30
#270004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270004
19.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270004#FFFFFF#000000##FFFFFF
##2700041.0019.301.0919.30
#FFFFFF19.301.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090804
Deuteranopia (green-blind)
#141103
Tritanopia (blue-blind)
#2C0002
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #270004;
/* rgb */ color: rgb(39, 0, 4);
/* oklch */ color: oklch(17.3% 0.069 19.6);
Tailwind
colors: {
  custom: {
    50: '#624648',
    500: '#270004',
    950: '#000000',
  },
}
SCSS
$custom: #270004;
$custom-light: #624648;
$custom-dark: #000000;
JSON
{
  "hex": "#270004",
  "rgb": {
    "r": 39,
    "g": 0,
    "b": 4
  },
  "hsl": {
    "h": 353.846,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.1726,
    "c": 0.06928,
    "h": 19.6
  },
  "luminance": 0.0044
}

Semantic roles & 50–950 ramp

primary
#270004
secondary
#146F66
accent
#FFE929
background
#F6F3F4
surface
#EBE5E6
border
#C6C1C2
text
#050000
muted
#7A7777

Preview Lab

Preview with #270004

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

Preview Lab → · Contrast checker → · Palette generator →

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