#270508#270508

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

Color values

HEX#270508
RGBrgb(39, 5, 8)
HSLhsl(355, 77%, 9%)
HSVhsv(355, 87%, 15%)
CMYKcmyk(0%, 87.2%, 79.5%, 84.7%)
CIE-LABlab(5.04, 16.46, 4.56)
CIE-LCHlch(5.04, 17.08, 15.49°)
OKLaboklab(18.45% 0.0549 0.0188)
OKLCHoklch(18.45% 0.058 18.9)
XYZxyz(0.9349, 0.5575, 0.2881)
Luminance0.0056 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270508 #052724
analogous
#270519 #270508 #271305
triadic
#270508 #082705 #050827
tetradic
#270508 #192705 #052724 #130527
square
#270508 #192705 #052724 #130527
split-complementary
#270508 #052713 #051927
monochromatic
#1B0306 #1B0306 #270508 #5D0C13 #93131E

Accessibility & contrast

On white

18.90
#270508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270508
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270508#FFFFFF#000000##FFFFFF
##2705081.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0C08
Deuteranopia (green-blind)
#161407
Tritanopia (blue-blind)
#2C0106
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #270508;
/* rgb */ color: rgb(39, 5, 8);
/* oklch */ color: oklch(18.4% 0.058 18.9);
Tailwind
colors: {
  custom: {
    50: '#62484a',
    500: '#270508',
    950: '#000000',
  },
}
SCSS
$custom: #270508;
$custom-light: #62484a;
$custom-dark: #000000;
JSON
{
  "hex": "#270508",
  "rgb": {
    "r": 39,
    "g": 5,
    "b": 8
  },
  "hsl": {
    "h": 354.706,
    "s": 77.273,
    "l": 8.627
  },
  "oklch": {
    "l": 0.1845,
    "c": 0.05802,
    "h": 18.9
  },
  "luminance": 0.00557
}

Semantic roles & 50–950 ramp

primary
#270508
secondary
#1F6962
accent
#F4E334
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#050001
muted
#7A7777

Preview Lab

Preview with #270508

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

Preview Lab → · Contrast checker → · Palette generator →

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