#270904#270904

#270904 is a very dark, muted red. Relative luminance 0.006; OKLCH L 19.1% C 0.053 H 34.0°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#270904
RGBrgb(39, 9, 4)
HSLhsl(9, 81%, 8%)
HSVhsv(9, 90%, 15%)
CMYKcmyk(0%, 76.9%, 89.7%, 84.7%)
CIE-LABlab(5.74, 14.23, 7.22)
CIE-LCHlch(5.74, 15.96, 26.90°)
OKLaboklab(19.11% 0.0436 0.0293)
OKLCHoklch(19.11% 0.053 34)
XYZxyz(0.9564, 0.6356, 0.1872)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270904 #042227
analogous
#270410 #270904 #271A04
triadic
#270904 #042709 #090427
tetradic
#270904 #102704 #042227 #1A0427
square
#270904 #102704 #042227 #1A0427
split-complementary
#270904 #04271A #041027
monochromatic
#1C0603 #1C0603 #270904 #5F160A #96230F

Accessibility & contrast

On white

18.63
#270904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#270904 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270904
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270904#FFFFFF#000000##FFFFFF
##2709041.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110F04
Deuteranopia (green-blind)
#191503
Tritanopia (blue-blind)
#2C0408
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #270904;
/* rgb */ color: rgb(39, 9, 4);
/* oklch */ color: oklch(19.1% 0.053 34.0);
Tailwind
colors: {
  custom: {
    50: '#624a48',
    500: '#270904',
    950: '#000000',
  },
}
SCSS
$custom: #270904;
$custom-light: #624a48;
$custom-dark: #000000;
JSON
{
  "hex": "#270904",
  "rgb": {
    "r": 39,
    "g": 9,
    "b": 4
  },
  "hsl": {
    "h": 8.571,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19106,
    "c": 0.05253,
    "h": 34
  },
  "luminance": 0.00635
}

Semantic roles & 50–950 ramp

primary
#270904
secondary
#1D5F6A
accent
#DBF830
background
#F6F4F4
surface
#EBE7E6
border
#C6C3C2
text
#050100
muted
#7A7777

Preview Lab

Preview with #270904

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

Preview Lab → · Contrast checker → · Palette generator →

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