#270802#270802

#270802 is a very dark, muted red. Relative luminance 0.006; OKLCH L 18.9% C 0.055 H 37.0°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#270802
RGBrgb(39, 8, 2)
HSLhsl(10, 90%, 8%)
HSVhsv(10, 95%, 15%)
CMYKcmyk(0%, 79.5%, 94.9%, 84.7%)
CIE-LABlab(5.51, 14.42, 7.69)
CIE-LCHlch(5.51, 16.35, 28.07°)
OKLaboklab(18.87% 0.044 0.0331)
OKLCHoklch(18.87% 0.055 37)
XYZxyz(0.9346, 0.6095, 0.1259)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270802 #022127
analogous
#27020E #270802 #271A02
triadic
#270802 #022708 #080227
tetradic
#270802 #0E2702 #022127 #1A0227
square
#270802 #0E2702 #022127 #1A0227
split-complementary
#270802 #02271A #020E27
monochromatic
#1D0601 #1D0601 #270802 #611405 #9B2008

Accessibility & contrast

On white

18.72
#270802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#270802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270802
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270802#FFFFFF#000000##FFFFFF
##2708021.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110E01
Deuteranopia (green-blind)
#181501
Tritanopia (blue-blind)
#2C0306
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #270802;
/* rgb */ color: rgb(39, 8, 2);
/* oklch */ color: oklch(18.9% 0.055 37.0);
Tailwind
colors: {
  custom: {
    50: '#624a47',
    500: '#270802',
    950: '#000000',
  },
}
SCSS
$custom: #270802;
$custom-light: #624a47;
$custom-dark: #000000;
JSON
{
  "hex": "#270802",
  "rgb": {
    "r": 39,
    "g": 8,
    "b": 2
  },
  "hsl": {
    "h": 9.73,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18865,
    "c": 0.05509,
    "h": 37
  },
  "luminance": 0.00609
}

Semantic roles & 50–950 ramp

primary
#270802
secondary
#185F6C
accent
#DCFF29
background
#F6F4F4
surface
#EBE7E6
border
#C6C3C2
text
#050100
muted
#7A7777

Preview Lab

Preview with #270802

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

Preview Lab → · Contrast checker → · Palette generator →

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