#270502#270502

#270502 is a very dark, muted red. Relative luminance 0.005; OKLCH L 18.3% C 0.060 H 31.9°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#270502
RGBrgb(39, 5, 2)
HSLhsl(5, 90%, 8%)
HSVhsv(5, 95%, 15%)
CMYKcmyk(0%, 87.2%, 94.9%, 84.7%)
CIE-LABlab(4.92, 15.70, 6.83)
CIE-LCHlch(4.92, 17.12, 23.53°)
OKLaboklab(18.28% 0.0506 0.0315)
OKLCHoklch(18.28% 0.06 31.9)
XYZxyz(0.9020, 0.5444, 0.1150)
Luminance0.0054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270502 #022427
analogous
#270211 #270502 #271702
triadic
#270502 #022705 #050227
tetradic
#270502 #112702 #022427 #170227
square
#270502 #112702 #022427 #170227
split-complementary
#270502 #022717 #021127
monochromatic
#1D0401 #1D0401 #270502 #610C05 #9B1408

Accessibility & contrast

On white

18.94
#270502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#270502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270502
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270502#FFFFFF#000000##FFFFFF
##2705021.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0C02
Deuteranopia (green-blind)
#171301
Tritanopia (blue-blind)
#2C0004
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #270502;
/* rgb */ color: rgb(39, 5, 2);
/* oklch */ color: oklch(18.3% 0.060 31.9);
Tailwind
colors: {
  custom: {
    50: '#624848',
    500: '#270502',
    950: '#000000',
  },
}
SCSS
$custom: #270502;
$custom-light: #624848;
$custom-dark: #000000;
JSON
{
  "hex": "#270502",
  "rgb": {
    "r": 39,
    "g": 5,
    "b": 2
  },
  "hsl": {
    "h": 4.865,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18276,
    "c": 0.05958,
    "h": 31.9
  },
  "luminance": 0.00544
}

Semantic roles & 50–950 ramp

primary
#270502
secondary
#18666C
accent
#EEFF29
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#050000
muted
#7A7777

Preview Lab

Preview with #270502

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

Preview Lab → · Contrast checker → · Palette generator →

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