#270403#270403

#270403 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 18.1% C 0.061 H 27.9°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#270403
RGBrgb(39, 4, 3)
HSLhsl(2, 86%, 8%)
HSVhsv(2, 92%, 15%)
CMYKcmyk(0%, 89.7%, 92.3%, 84.7%)
CIE-LABlab(4.74, 16.25, 6.17)
CIE-LCHlch(4.74, 17.38, 20.79°)
OKLaboklab(18.1% 0.0538 0.0285)
OKLCHoklch(18.1% 0.061 27.9)
XYZxyz(0.8967, 0.5249, 0.1402)
Luminance0.0053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270403 #032627
analogous
#270314 #270403 #271603
triadic
#270403 #032704 #040327
tetradic
#270403 #142703 #032627 #160327
square
#270403 #142703 #032627 #160327
split-complementary
#270403 #032716 #031427
monochromatic
#1C0302 #1C0302 #270403 #600A07 #99100C

Accessibility & contrast

On white

19.00
#270403 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270403
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270403#FFFFFF#000000##FFFFFF
##2704031.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #270403;
/* rgb */ color: rgb(39, 4, 3);
/* oklch */ color: oklch(18.1% 0.061 27.9);
Tailwind
colors: {
  custom: {
    50: '#624848',
    500: '#270403',
    950: '#000000',
  },
}
SCSS
$custom: #270403;
$custom-light: #624848;
$custom-dark: #000000;
JSON
{
  "hex": "#270403",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 3
  },
  "hsl": {
    "h": 1.667,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.18101,
    "c": 0.06088,
    "h": 27.9
  },
  "luminance": 0.00525
}

Semantic roles & 50–950 ramp

primary
#270403
secondary
#1B696B
accent
#F6FC2C
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#050000
muted
#7A7777

Preview Lab

Preview with #270403

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

Preview Lab → · Contrast checker → · Palette generator →

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