#270307#270307

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

Color values

HEX#270307
RGBrgb(39, 3, 7)
HSLhsl(353, 86%, 8%)
HSVhsv(353, 92%, 15%)
CMYKcmyk(0%, 92.3%, 82.1%, 84.7%)
CIE-LABlab(4.62, 17.18, 4.37)
CIE-LCHlch(4.62, 17.73, 14.26°)
OKLaboklab(18.01% 0.0592 0.0191)
OKLCHoklch(18.01% 0.062 17.9)
XYZxyz(0.9077, 0.5119, 0.2520)
Luminance0.0051 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270307 #032723
analogous
#270319 #270307 #271103
triadic
#270307 #072703 #030727
tetradic
#270307 #192703 #032723 #110327
square
#270307 #192703 #032723 #110327
split-complementary
#270307 #032711 #031927
monochromatic
#1C0205 #1C0205 #270307 #600711 #990C1B

Accessibility & contrast

On white

19.05
#270307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270307
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270307#FFFFFF#000000##FFFFFF
##2703071.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #270307;
/* rgb */ color: rgb(39, 3, 7);
/* oklch */ color: oklch(18.0% 0.062 17.9);
Tailwind
colors: {
  custom: {
    50: '#62474a',
    500: '#270307',
    950: '#000000',
  },
}
SCSS
$custom: #270307;
$custom-light: #62474a;
$custom-dark: #000000;
JSON
{
  "hex": "#270307",
  "rgb": {
    "r": 39,
    "g": 3,
    "b": 7
  },
  "hsl": {
    "h": 353.333,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.18013,
    "c": 0.06219,
    "h": 17.9
  },
  "luminance": 0.00512
}

Semantic roles & 50–950 ramp

primary
#270307
secondary
#1B6B62
accent
#FCE52C
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#050001
muted
#7A7777

Preview Lab

Preview with #270307

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

Preview Lab → · Contrast checker → · Palette generator →

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