#270405#270405

#270405 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 18.2% C 0.060 H 23.4°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#270405
RGBrgb(39, 4, 5)
HSLhsl(358, 81%, 8%)
HSVhsv(358, 90%, 15%)
CMYKcmyk(0%, 89.7%, 87.2%, 84.7%)
CIE-LABlab(4.78, 16.50, 5.41)
CIE-LCHlch(4.78, 17.37, 18.16°)
OKLaboklab(18.16% 0.0554 0.024)
OKLCHoklch(18.16% 0.06 23.4)
XYZxyz(0.9076, 0.5293, 0.1979)
Luminance0.0053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270405 #042726
analogous
#270416 #270405 #271404
triadic
#270405 #052704 #040527
tetradic
#270405 #162704 #042726 #140427
square
#270405 #162704 #042726 #140427
split-complementary
#270405 #042714 #041627
monochromatic
#1C0304 #1C0304 #270405 #5F0A0C #960F13

Accessibility & contrast

On white

18.99
#270405 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270405
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270405#FFFFFF#000000##FFFFFF
##2704051.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0B05
Deuteranopia (green-blind)
#161304
Tritanopia (blue-blind)
#2C0005
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #270405;
/* rgb */ color: rgb(39, 4, 5);
/* oklch */ color: oklch(18.2% 0.060 23.4);
Tailwind
colors: {
  custom: {
    50: '#624849',
    500: '#270405',
    950: '#000000',
  },
}
SCSS
$custom: #270405;
$custom-light: #624849;
$custom-dark: #000000;
JSON
{
  "hex": "#270405",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 5
  },
  "hsl": {
    "h": 358.286,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.1816,
    "c": 0.06033,
    "h": 23.4
  },
  "luminance": 0.00529
}

Semantic roles & 50–950 ramp

primary
#270405
secondary
#1D6A68
accent
#F8F230
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#050000
muted
#7A7777

Preview Lab

Preview with #270405

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

Preview Lab → · Contrast checker → · Palette generator →

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