#270702#270702

#270702 is a very dark, muted red. Relative luminance 0.006; OKLCH L 18.7% C 0.056 H 35.3°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#270702
RGBrgb(39, 7, 2)
HSLhsl(8, 90%, 8%)
HSVhsv(8, 95%, 15%)
CMYKcmyk(0%, 82.1%, 94.9%, 84.7%)
CIE-LABlab(5.31, 14.85, 7.41)
CIE-LCHlch(5.31, 16.59, 26.51°)
OKLaboklab(18.67% 0.0461 0.0326)
OKLCHoklch(18.67% 0.056 35.3)
XYZxyz(0.9237, 0.5878, 0.1222)
Luminance0.0059 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270702 #022227
analogous
#27020F #270702 #271902
triadic
#270702 #022707 #070227
tetradic
#270702 #0F2702 #022227 #190227
square
#270702 #0F2702 #022227 #190227
split-complementary
#270702 #022719 #020F27
monochromatic
#1D0501 #1D0501 #270702 #611105 #9B1C08

Accessibility & contrast

On white

18.79
#270702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#270702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270702
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270702#FFFFFF#000000##FFFFFF
##2707021.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100D02
Deuteranopia (green-blind)
#181401
Tritanopia (blue-blind)
#2C0206
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #270702;
/* rgb */ color: rgb(39, 7, 2);
/* oklch */ color: oklch(18.7% 0.056 35.3);
Tailwind
colors: {
  custom: {
    50: '#624947',
    500: '#270702',
    950: '#000000',
  },
}
SCSS
$custom: #270702;
$custom-light: #624947;
$custom-dark: #000000;
JSON
{
  "hex": "#270702",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 2
  },
  "hsl": {
    "h": 8.108,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18673,
    "c": 0.05648,
    "h": 35.3
  },
  "luminance": 0.00588
}

Semantic roles & 50–950 ramp

primary
#270702
secondary
#18616C
accent
#E2FF29
background
#F6F4F4
surface
#EBE7E6
border
#C6C3C2
text
#050100
muted
#7A7777

Preview Lab

Preview with #270702

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

Preview Lab → · Contrast checker → · Palette generator →

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