#270504#270504

#270504 is a very dark, muted red. Relative luminance 0.005; OKLCH L 18.3% C 0.059 H 27.2°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#270504
RGBrgb(39, 5, 4)
HSLhsl(2, 81%, 8%)
HSVhsv(2, 90%, 15%)
CMYKcmyk(0%, 87.2%, 89.7%, 84.7%)
CIE-LABlab(4.96, 15.95, 6.08)
CIE-LCHlch(4.96, 17.07, 20.85°)
OKLaboklab(18.34% 0.0522 0.0269)
OKLCHoklch(18.34% 0.059 27.2)
XYZxyz(0.9130, 0.5488, 0.1727)
Luminance0.0055 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270504 #042627
analogous
#270414 #270504 #271604
triadic
#270504 #042705 #050427
tetradic
#270504 #142704 #042627 #160427
square
#270504 #142704 #042627 #160427
split-complementary
#270504 #042716 #041427
monochromatic
#1C0403 #1C0403 #270504 #5F0C0A #96130F

Accessibility & contrast

On white

18.92
#270504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#270504 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270504
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270504#FFFFFF#000000##FFFFFF
##2705041.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0C04
Deuteranopia (green-blind)
#171403
Tritanopia (blue-blind)
#2C0005
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #270504;
/* rgb */ color: rgb(39, 5, 4);
/* oklch */ color: oklch(18.3% 0.059 27.2);
Tailwind
colors: {
  custom: {
    50: '#624848',
    500: '#270504',
    950: '#000000',
  },
}
SCSS
$custom: #270504;
$custom-light: #624848;
$custom-dark: #000000;
JSON
{
  "hex": "#270504",
  "rgb": {
    "r": 39,
    "g": 5,
    "b": 4
  },
  "hsl": {
    "h": 1.714,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18335,
    "c": 0.05873,
    "h": 27.2
  },
  "luminance": 0.00549
}

Semantic roles & 50–950 ramp

primary
#270504
secondary
#1D686A
accent
#F2F830
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#050000
muted
#7A7777

Preview Lab

Preview with #270504

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

Preview Lab → · Contrast checker → · Palette generator →

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