#270501#270501

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

Color values

HEX#270501
RGBrgb(39, 5, 1)
HSLhsl(6, 95%, 8%)
HSVhsv(6, 97%, 15%)
CMYKcmyk(0%, 87.2%, 97.4%, 84.7%)
CIE-LABlab(4.90, 15.57, 7.21)
CIE-LCHlch(4.90, 17.16, 24.85°)
OKLaboklab(18.25% 0.0496 0.034)
OKLCHoklch(18.25% 0.06 34.4)
XYZxyz(0.8966, 0.5422, 0.0862)
Luminance0.0054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270501 #012327
analogous
#270110 #270501 #271801
triadic
#270501 #012705 #050127
tetradic
#270501 #102701 #012327 #180127
square
#270501 #102701 #012327 #180127
split-complementary
#270501 #012718 #011027
monochromatic
#1E0401 #1E0401 #270501 #630D03 #9E1404

Accessibility & contrast

On white

18.95
#270501 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270501
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270501#FFFFFF#000000##FFFFFF
##2705011.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0C01
Deuteranopia (green-blind)
#171300
Tritanopia (blue-blind)
#2C0004
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #270501;
/* rgb */ color: rgb(39, 5, 1);
/* oklch */ color: oklch(18.2% 0.060 34.4);
Tailwind
colors: {
  custom: {
    50: '#624847',
    500: '#270501',
    950: '#000000',
  },
}
SCSS
$custom: #270501;
$custom-light: #624847;
$custom-dark: #000000;
JSON
{
  "hex": "#270501",
  "rgb": {
    "r": 39,
    "g": 5,
    "b": 1
  },
  "hsl": {
    "h": 6.316,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18247,
    "c": 0.06018,
    "h": 34.4
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#270501
secondary
#16646E
accent
#E8FF29
background
#F6F4F3
surface
#EBE6E5
border
#C6C2C1
text
#050000
muted
#7A7777

Preview Lab

Preview with #270501

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

Preview Lab → · Contrast checker → · Palette generator →

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