#27011F#27011F

#27011F is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.7% C 0.079 H 337.9°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#27011F
RGBrgb(39, 1, 31)
HSLhsl(313, 95%, 8%)
HSVhsv(313, 97%, 15%)
CMYKcmyk(0%, 97.4%, 20.5%, 84.7%)
CIE-LABlab(4.99, 22.46, -10.05)
CIE-LCHlch(4.99, 24.61, 335.90°)
OKLaboklab(18.73% 0.0729 -0.0296)
OKLCHoklch(18.73% 0.079 337.9)
XYZxyz(1.0949, 0.5521, 1.3450)
Luminance0.0055 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27011F #012709
analogous
#1C0127 #27011F #27010C
triadic
#27011F #1F2701 #011F27
tetradic
#27011F #271C01 #012709 #010C27
square
#27011F #271C01 #012709 #010C27
split-complementary
#27011F #0C2701 #01271C
monochromatic
#1E0118 #1E0118 #27011F #63034E #9E047E

Accessibility & contrast

On white

18.91
#27011F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#27011F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27011F
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27011F#FFFFFF#000000##FFFFFF
##27011F1.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020D20
Deuteranopia (green-blind)
#0F131E
Tritanopia (blue-blind)
#2A020E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #27011f;
/* rgb */ color: rgb(39, 1, 31);
/* oklch */ color: oklch(18.7% 0.079 337.9);
Tailwind
colors: {
  custom: {
    50: '#62465a',
    500: '#27011f',
    950: '#000000',
  },
}
SCSS
$custom: #27011f;
$custom-light: #62465a;
$custom-dark: #000000;
JSON
{
  "hex": "#27011f",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 31
  },
  "hsl": {
    "h": 312.632,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18728,
    "c": 0.07868,
    "h": 337.9
  },
  "luminance": 0.00552
}

Semantic roles & 50–950 ramp

primary
#27011F
secondary
#166E29
accent
#FF5629
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050003
muted
#7A7778

Preview Lab

Preview with #27011F

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

Preview Lab → · Contrast checker → · Palette generator →

#27011F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva