#270201#270201

#270201 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 17.6% C 0.066 H 29.6°. Best body text is #FFFFFF at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#270201
RGBrgb(39, 2, 1)
HSLhsl(2, 95%, 8%)
HSVhsv(2, 97%, 15%)
CMYKcmyk(0%, 94.9%, 97.4%, 84.7%)
CIE-LABlab(4.31, 16.81, 6.35)
CIE-LCHlch(4.31, 17.97, 20.70°)
OKLaboklab(17.61% 0.057 0.0324)
OKLCHoklch(17.61% 0.066 29.6)
XYZxyz(0.8640, 0.4771, 0.0753)
Luminance0.0048 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270201 #012627
analogous
#270113 #270201 #271501
triadic
#270201 #012702 #020127
tetradic
#270201 #132701 #012627 #150127
square
#270201 #132701 #012627 #150127
split-complementary
#270201 #012715 #011327
monochromatic
#1E0201 #1E0201 #270201 #630503 #9E0804

Accessibility & contrast

On white

19.17
#270201 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270201
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270201#FFFFFF#000000##FFFFFF
##2702011.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0901
Deuteranopia (green-blind)
#161200
Tritanopia (blue-blind)
#2C0002
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #270201;
/* rgb */ color: rgb(39, 2, 1);
/* oklch */ color: oklch(17.6% 0.066 29.6);
Tailwind
colors: {
  custom: {
    50: '#624747',
    500: '#270201',
    950: '#000000',
  },
}
SCSS
$custom: #270201;
$custom-light: #624747;
$custom-dark: #000000;
JSON
{
  "hex": "#270201",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 1
  },
  "hsl": {
    "h": 1.579,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17613,
    "c": 0.06556,
    "h": 29.6
  },
  "luminance": 0.00477
}

Semantic roles & 50–950 ramp

primary
#270201
secondary
#166B6E
accent
#F9FF29
background
#F6F4F3
surface
#EBE6E5
border
#C6C2C1
text
#050000
muted
#7A7777

Preview Lab

Preview with #270201

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

Preview Lab → · Contrast checker → · Palette generator →

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