#270301#270301

#270301 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 17.8% C 0.064 H 31.2°. Best body text is #FFFFFF at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#270301
RGBrgb(39, 3, 1)
HSLhsl(3, 95%, 8%)
HSVhsv(3, 97%, 15%)
CMYKcmyk(0%, 92.3%, 97.4%, 84.7%)
CIE-LABlab(4.51, 16.40, 6.64)
CIE-LCHlch(4.51, 17.69, 22.04°)
OKLaboklab(17.83% 0.0544 0.033)
OKLCHoklch(17.83% 0.064 31.2)
XYZxyz(0.8749, 0.4988, 0.0789)
Luminance0.0050 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270301 #012527
analogous
#270112 #270301 #271601
triadic
#270301 #012703 #030127
tetradic
#270301 #122701 #012527 #160127
square
#270301 #122701 #012527 #160127
split-complementary
#270301 #012716 #011227
monochromatic
#1E0201 #1E0201 #270301 #630803 #9E0C04

Accessibility & contrast

On white

19.09
#270301 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#270301 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270301
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270301#FFFFFF#000000##FFFFFF
##2703011.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0A01
Deuteranopia (green-blind)
#161300
Tritanopia (blue-blind)
#2C0003
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #270301;
/* rgb */ color: rgb(39, 3, 1);
/* oklch */ color: oklch(17.8% 0.064 31.2);
Tailwind
colors: {
  custom: {
    50: '#624747',
    500: '#270301',
    950: '#000000',
  },
}
SCSS
$custom: #270301;
$custom-light: #624747;
$custom-dark: #000000;
JSON
{
  "hex": "#270301",
  "rgb": {
    "r": 39,
    "g": 3,
    "b": 1
  },
  "hsl": {
    "h": 3.158,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.1783,
    "c": 0.06363,
    "h": 31.2
  },
  "luminance": 0.00499
}

Semantic roles & 50–950 ramp

primary
#270301
secondary
#16696E
accent
#F4FF29
background
#F6F4F3
surface
#EBE6E5
border
#C6C2C1
text
#050000
muted
#7A7777

Preview Lab

Preview with #270301

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

Preview Lab → · Contrast checker → · Palette generator →

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