#270A04#270A04

#270A04 is a very dark, muted red. Relative luminance 0.007; OKLCH L 19.3% C 0.051 H 35.7°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#270A04
RGBrgb(39, 10, 4)
HSLhsl(10, 81%, 8%)
HSVhsv(10, 90%, 15%)
CMYKcmyk(0%, 74.4%, 89.7%, 84.7%)
CIE-LABlab(5.94, 13.80, 7.51)
CIE-LCHlch(5.94, 15.71, 28.55°)
OKLaboklab(19.29% 0.0416 0.0299)
OKLCHoklch(19.29% 0.051 35.7)
XYZxyz(0.9673, 0.6573, 0.1908)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270A04 #042127
analogous
#27040F #270A04 #271B04
triadic
#270A04 #04270A #0A0427
tetradic
#270A04 #0F2704 #042127 #1B0427
square
#270A04 #0F2704 #042127 #1B0427
split-complementary
#270A04 #04271B #040F27
monochromatic
#1C0703 #1C0703 #270A04 #5F180A #96260F

Accessibility & contrast

On white

18.56
#270A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#270A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270A04
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270A04#FFFFFF#000000##FFFFFF
##270A041.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F03
Deuteranopia (green-blind)
#191604
Tritanopia (blue-blind)
#2C0508
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #270a04;
/* rgb */ color: rgb(39, 10, 4);
/* oklch */ color: oklch(19.3% 0.051 35.7);
Tailwind
colors: {
  custom: {
    50: '#624b48',
    500: '#270a04',
    950: '#000000',
  },
}
SCSS
$custom: #270a04;
$custom-light: #624b48;
$custom-dark: #000000;
JSON
{
  "hex": "#270a04",
  "rgb": {
    "r": 39,
    "g": 10,
    "b": 4
  },
  "hsl": {
    "h": 10.286,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19289,
    "c": 0.05124,
    "h": 35.7
  },
  "luminance": 0.00657
}

Semantic roles & 50–950 ramp

primary
#270A04
secondary
#1D5D6A
accent
#D6F830
background
#F6F4F4
surface
#EBE7E6
border
#C6C3C2
text
#050100
muted
#7A7777

Preview Lab

Preview with #270A04

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

Preview Lab → · Contrast checker → · Palette generator →

#270A04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva