#270308#270308

#270308 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 18.0% C 0.062 H 16.0°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#270308
RGBrgb(39, 3, 8)
HSLhsl(352, 86%, 8%)
HSVhsv(352, 92%, 15%)
CMYKcmyk(0%, 92.3%, 79.5%, 84.7%)
CIE-LABlab(4.64, 17.31, 3.99)
CIE-LCHlch(4.64, 17.77, 12.98°)
OKLaboklab(18.04% 0.0598 0.0171)
OKLCHoklch(18.04% 0.062 16)
XYZxyz(0.9132, 0.5141, 0.2808)
Luminance0.0051 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270308 #032722
analogous
#27031A #270308 #271003
triadic
#270308 #082703 #030827
tetradic
#270308 #1A2703 #032722 #100327
square
#270308 #1A2703 #032722 #100327
split-complementary
#270308 #032710 #031A27
monochromatic
#1C0206 #1C0206 #270308 #600714 #990C1F

Accessibility & contrast

On white

19.04
#270308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270308
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270308#FFFFFF#000000##FFFFFF
##2703081.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0B08
Deuteranopia (green-blind)
#151307
Tritanopia (blue-blind)
#2C0005
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #270308;
/* rgb */ color: rgb(39, 3, 8);
/* oklch */ color: oklch(18.0% 0.062 16.0);
Tailwind
colors: {
  custom: {
    50: '#62474a',
    500: '#270308',
    950: '#000000',
  },
}
SCSS
$custom: #270308;
$custom-light: #62474a;
$custom-dark: #000000;
JSON
{
  "hex": "#270308",
  "rgb": {
    "r": 39,
    "g": 3,
    "b": 8
  },
  "hsl": {
    "h": 351.667,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.18043,
    "c": 0.06221,
    "h": 16
  },
  "luminance": 0.00514
}

Semantic roles & 50–950 ramp

primary
#270308
secondary
#1B6B60
accent
#FCDF2C
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#050001
muted
#7A7777

Preview Lab

Preview with #270308

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

Preview Lab → · Contrast checker → · Palette generator →

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