#270107#270107

#270107 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 17.6% C 0.067 H 15.1°. Best body text is #FFFFFF at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#270107
RGBrgb(39, 1, 7)
HSLhsl(351, 95%, 8%)
HSVhsv(351, 97%, 15%)
CMYKcmyk(0%, 97.4%, 82.1%, 84.7%)
CIE-LABlab(4.23, 18.02, 3.79)
CIE-LCHlch(4.23, 18.42, 11.89°)
OKLaboklab(17.58% 0.0645 0.0174)
OKLCHoklch(17.58% 0.067 15.1)
XYZxyz(0.8860, 0.4685, 0.2448)
Luminance0.0047 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270107 #012721
analogous
#27011A #270107 #270E01
triadic
#270107 #072701 #010727
tetradic
#270107 #1A2701 #012721 #0E0127
square
#270107 #1A2701 #012721 #0E0127
split-complementary
#270107 #01270E #011A27
monochromatic
#1E0105 #1E0105 #270107 #630312 #9E041C

Accessibility & contrast

On white

19.20
#270107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#270107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270107
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270107#FFFFFF#000000##FFFFFF
##2701071.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0907
Deuteranopia (green-blind)
#141206
Tritanopia (blue-blind)
#2C0003
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #270107;
/* rgb */ color: rgb(39, 1, 7);
/* oklch */ color: oklch(17.6% 0.067 15.1);
Tailwind
colors: {
  custom: {
    50: '#62464a',
    500: '#270107',
    950: '#000000',
  },
}
SCSS
$custom: #270107;
$custom-light: #62464a;
$custom-dark: #000000;
JSON
{
  "hex": "#270107",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 7
  },
  "hsl": {
    "h": 350.526,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17583,
    "c": 0.06683,
    "h": 15.1
  },
  "luminance": 0.00468
}

Semantic roles & 50–950 ramp

primary
#270107
secondary
#166E60
accent
#FFDD29
background
#F6F3F4
surface
#EBE5E7
border
#C6C1C3
text
#050001
muted
#7A7777

Preview Lab

Preview with #270107

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

Preview Lab → · Contrast checker → · Palette generator →

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