#270C07#270C07

#270C07 is a very dark, muted red. Relative luminance 0.007; OKLCH L 19.7% C 0.047 H 32.8°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#270C07
RGBrgb(39, 12, 7)
HSLhsl(9, 70%, 9%)
HSVhsv(9, 82%, 15%)
CMYKcmyk(0%, 69.2%, 82.1%, 84.7%)
CIE-LABlab(6.41, 13.20, 6.98)
CIE-LCHlch(6.41, 14.93, 27.85°)
OKLaboklab(19.74% 0.0396 0.0255)
OKLCHoklch(19.74% 0.047 32.8)
XYZxyz(1.0066, 0.7097, 0.2850)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270C07 #072227
analogous
#270712 #270C07 #271C07
triadic
#270C07 #07270C #0C0727
tetradic
#270C07 #122707 #072227 #1C0727
square
#270C07 #122707 #072227 #1C0727
split-complementary
#270C07 #07271C #071227
monochromatic
#1A0805 #1A0805 #270C07 #5B1C10 #8F2C1A

Accessibility & contrast

On white

18.39
#270C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#270C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270C07
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270C07#FFFFFF#000000##FFFFFF
##270C071.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131107
Deuteranopia (green-blind)
#1A1607
Tritanopia (blue-blind)
#2C070B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #270c07;
/* rgb */ color: rgb(39, 12, 7);
/* oklch */ color: oklch(19.7% 0.047 32.8);
Tailwind
colors: {
  custom: {
    50: '#624c4a',
    500: '#270c07',
    950: '#000000',
  },
}
SCSS
$custom: #270c07;
$custom-light: #624c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#270c07",
  "rgb": {
    "r": 39,
    "g": 12,
    "b": 7
  },
  "hsl": {
    "h": 9.375,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19738,
    "c": 0.04713,
    "h": 32.8
  },
  "luminance": 0.0071
}

Semantic roles & 50–950 ramp

primary
#270C07
secondary
#235C66
accent
#D1EC3B
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#050101
muted
#7A7777

Preview Lab

Preview with #270C07

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

Preview Lab → · Contrast checker → · Palette generator →

#270C07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva