#270302#270302

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

Color values

HEX#270302
RGBrgb(39, 3, 2)
HSLhsl(2, 90%, 8%)
HSVhsv(2, 95%, 15%)
CMYKcmyk(0%, 92.3%, 94.9%, 84.7%)
CIE-LABlab(4.53, 16.53, 6.26)
CIE-LCHlch(4.53, 17.68, 20.74°)
OKLaboklab(17.86% 0.0554 0.0304)
OKLCHoklch(17.86% 0.063 28.7)
XYZxyz(0.8803, 0.5010, 0.1078)
Luminance0.0050 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270302 #022627
analogous
#270213 #270302 #271502
triadic
#270302 #022703 #030227
tetradic
#270302 #132702 #022627 #150227
square
#270302 #132702 #022627 #150227
split-complementary
#270302 #022715 #021327
monochromatic
#1D0201 #1D0201 #270302 #610705 #9B0C08

Accessibility & contrast

On white

19.09
#270302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270302
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270302#FFFFFF#000000##FFFFFF
##2703021.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0A02
Deuteranopia (green-blind)
#161301
Tritanopia (blue-blind)
#2C0003
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #270302;
/* rgb */ color: rgb(39, 3, 2);
/* oklch */ color: oklch(17.9% 0.063 28.7);
Tailwind
colors: {
  custom: {
    50: '#624748',
    500: '#270302',
    950: '#000000',
  },
}
SCSS
$custom: #270302;
$custom-light: #624748;
$custom-dark: #000000;
JSON
{
  "hex": "#270302",
  "rgb": {
    "r": 39,
    "g": 3,
    "b": 2
  },
  "hsl": {
    "h": 1.622,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.1786,
    "c": 0.06316,
    "h": 28.7
  },
  "luminance": 0.00501
}

Semantic roles & 50–950 ramp

primary
#270302
secondary
#186A6C
accent
#F9FF29
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#050000
muted
#7A7777

Preview Lab

Preview with #270302

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

Preview Lab → · Contrast checker → · Palette generator →

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