#270708#270708

#270708 is a very dark, muted red. Relative luminance 0.006; OKLCH L 18.8% C 0.054 H 21.9°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#270708
RGBrgb(39, 7, 8)
HSLhsl(358, 70%, 9%)
HSVhsv(358, 82%, 15%)
CMYKcmyk(0%, 82.1%, 79.5%, 84.7%)
CIE-LABlab(5.43, 15.59, 5.14)
CIE-LCHlch(5.43, 16.41, 18.24°)
OKLaboklab(18.84% 0.0504 0.0203)
OKLCHoklch(18.84% 0.054 21.9)
XYZxyz(0.9566, 0.6010, 0.2953)
Luminance0.0060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270708 #072726
analogous
#270718 #270708 #271607
triadic
#270708 #082707 #070827
tetradic
#270708 #182707 #072726 #160727
square
#270708 #182707 #072726 #160727
split-complementary
#270708 #072716 #071827
monochromatic
#1A0505 #1A0505 #270708 #5B1013 #8F1A1D

Accessibility & contrast

On white

18.75
#270708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270708
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270708#FFFFFF#000000##FFFFFF
##2707081.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0E08
Deuteranopia (green-blind)
#171407
Tritanopia (blue-blind)
#2C0208
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #270708;
/* rgb */ color: rgb(39, 7, 8);
/* oklch */ color: oklch(18.8% 0.054 21.9);
Tailwind
colors: {
  custom: {
    50: '#62494a',
    500: '#270708',
    950: '#000000',
  },
}
SCSS
$custom: #270708;
$custom-light: #62494a;
$custom-dark: #000000;
JSON
{
  "hex": "#270708",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 8
  },
  "hsl": {
    "h": 358.125,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.18839,
    "c": 0.05431,
    "h": 21.9
  },
  "luminance": 0.00601
}

Semantic roles & 50–950 ramp

primary
#270708
secondary
#236664
accent
#ECE73B
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#050101
muted
#7A7777

Preview Lab

Preview with #270708

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

Preview Lab → · Contrast checker → · Palette generator →

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