#270102#270102

#270102 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 17.4% C 0.067 H 25.6°. Best body text is #FFFFFF at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#270102
RGBrgb(39, 1, 2)
HSLhsl(358, 95%, 8%)
HSVhsv(358, 97%, 15%)
CMYKcmyk(0%, 97.4%, 94.9%, 84.7%)
CIE-LABlab(4.13, 17.35, 5.69)
CIE-LCHlch(4.13, 18.26, 18.15°)
OKLaboklab(17.42% 0.0607 0.0291)
OKLCHoklch(17.42% 0.067 25.6)
XYZxyz(0.8586, 0.4576, 0.1005)
Luminance0.0046 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270102 #012726
analogous
#270115 #270102 #271301
triadic
#270102 #022701 #010227
tetradic
#270102 #152701 #012726 #130127
square
#270102 #152701 #012726 #130127
split-complementary
#270102 #012713 #011527
monochromatic
#1E0102 #1E0102 #270102 #630305 #9E0408

Accessibility & contrast

On white

19.24
#270102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#270102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270102
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270102#FFFFFF#000000##FFFFFF
##2701021.0019.241.0919.24
#FFFFFF19.241.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0902
Deuteranopia (green-blind)
#151201
Tritanopia (blue-blind)
#2C0002
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #270102;
/* rgb */ color: rgb(39, 1, 2);
/* oklch */ color: oklch(17.4% 0.067 25.6);
Tailwind
colors: {
  custom: {
    50: '#624648',
    500: '#270102',
    950: '#000000',
  },
}
SCSS
$custom: #270102;
$custom-light: #624648;
$custom-dark: #000000;
JSON
{
  "hex": "#270102",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 2
  },
  "hsl": {
    "h": 358.421,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17422,
    "c": 0.06727,
    "h": 25.6
  },
  "luminance": 0.00457
}

Semantic roles & 50–950 ramp

primary
#270102
secondary
#166E6B
accent
#FFF929
background
#F6F3F4
surface
#EBE5E6
border
#C6C1C2
text
#050000
muted
#7A7777

Preview Lab

Preview with #270102

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

Preview Lab → · Contrast checker → · Palette generator →

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