#270304#270304

#270304 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 17.9% C 0.063 H 24.1°. Best body text is #FFFFFF at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#270304
RGBrgb(39, 3, 4)
HSLhsl(358, 86%, 8%)
HSVhsv(358, 92%, 15%)
CMYKcmyk(0%, 92.3%, 89.7%, 84.7%)
CIE-LABlab(4.57, 16.80, 5.50)
CIE-LCHlch(4.57, 17.67, 18.14°)
OKLaboklab(17.92% 0.0571 0.0255)
OKLCHoklch(17.92% 0.063 24.1)
XYZxyz(0.8913, 0.5054, 0.1655)
Luminance0.0050 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270304 #032726
analogous
#270316 #270304 #271403
triadic
#270304 #042703 #030427
tetradic
#270304 #162703 #032726 #140327
square
#270304 #162703 #032726 #140327
split-complementary
#270304 #032714 #031627
monochromatic
#1C0203 #1C0203 #270304 #60070A #990C10

Accessibility & contrast

On white

19.07
#270304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270304
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270304#FFFFFF#000000##FFFFFF
##2703041.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0A04
Deuteranopia (green-blind)
#161303
Tritanopia (blue-blind)
#2C0004
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #270304;
/* rgb */ color: rgb(39, 3, 4);
/* oklch */ color: oklch(17.9% 0.063 24.1);
Tailwind
colors: {
  custom: {
    50: '#624748',
    500: '#270304',
    950: '#000000',
  },
}
SCSS
$custom: #270304;
$custom-light: #624748;
$custom-dark: #000000;
JSON
{
  "hex": "#270304",
  "rgb": {
    "r": 39,
    "g": 3,
    "b": 4
  },
  "hsl": {
    "h": 358.333,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.17921,
    "c": 0.06253,
    "h": 24.1
  },
  "luminance": 0.00505
}

Semantic roles & 50–950 ramp

primary
#270304
secondary
#1B6B69
accent
#FCF62C
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#050000
muted
#7A7777

Preview Lab

Preview with #270304

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

Preview Lab → · Contrast checker → · Palette generator →

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