#270306#270306

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

Color values

HEX#270306
RGBrgb(39, 3, 6)
HSLhsl(355, 86%, 8%)
HSVhsv(355, 92%, 15%)
CMYKcmyk(0%, 92.3%, 84.6%, 84.7%)
CIE-LABlab(4.60, 17.06, 4.75)
CIE-LCHlch(4.60, 17.70, 15.55°)
OKLaboklab(17.98% 0.0585 0.0211)
OKLCHoklch(17.98% 0.062 19.8)
XYZxyz(0.9022, 0.5097, 0.2231)
Luminance0.0051 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270306 #032724
analogous
#270318 #270306 #271203
triadic
#270306 #062703 #030627
tetradic
#270306 #182703 #032724 #120327
square
#270306 #182703 #032724 #120327
split-complementary
#270306 #032712 #031827
monochromatic
#1C0204 #1C0204 #270306 #60070F #990C17

Accessibility & contrast

On white

19.06
#270306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270306
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270306#FFFFFF#000000##FFFFFF
##2703061.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #270306;
/* rgb */ color: rgb(39, 3, 6);
/* oklch */ color: oklch(18.0% 0.062 19.8);
Tailwind
colors: {
  custom: {
    50: '#624749',
    500: '#270306',
    950: '#000000',
  },
}
SCSS
$custom: #270306;
$custom-light: #624749;
$custom-dark: #000000;
JSON
{
  "hex": "#270306",
  "rgb": {
    "r": 39,
    "g": 3,
    "b": 6
  },
  "hsl": {
    "h": 355,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.17982,
    "c": 0.06224,
    "h": 19.8
  },
  "luminance": 0.0051
}

Semantic roles & 50–950 ramp

primary
#270306
secondary
#1B6B64
accent
#FCEB2C
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#050000
muted
#7A7777

Preview Lab

Preview with #270306

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

Preview Lab → · Contrast checker → · Palette generator →

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