#27040F#27040F

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

Color values

HEX#27040F
RGBrgb(39, 4, 15)
HSLhsl(341, 81%, 8%)
HSVhsv(341, 90%, 15%)
CMYKcmyk(0%, 89.7%, 61.5%, 84.7%)
CIE-LABlab(4.99, 17.83, 1.35)
CIE-LCHlch(4.99, 17.88, 4.32°)
OKLaboklab(18.48% 0.0609 0.0052)
OKLCHoklch(18.48% 0.061 4.9)
XYZxyz(0.9664, 0.5528, 0.5077)
Luminance0.0055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27040F #04271C
analogous
#270420 #27040F #270A04
triadic
#27040F #0F2704 #040F27
tetradic
#27040F #202704 #04271C #0A0427
square
#27040F #202704 #04271C #0A0427
split-complementary
#27040F #04270A #042027
monochromatic
#1C030B #1C030B #27040F #5F0A24 #960F3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27040F#FFFFFF#000000##FFFFFF
##27040F1.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)
#0B0C0F
Deuteranopia (green-blind)
#15130E
Tritanopia (blue-blind)
#2B0108
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #27040f;
/* rgb */ color: rgb(39, 4, 15);
/* oklch */ color: oklch(18.5% 0.061 4.9);
Tailwind
colors: {
  custom: {
    50: '#63484e',
    500: '#27040f',
    950: '#000000',
  },
}
SCSS
$custom: #27040f;
$custom-light: #63484e;
$custom-dark: #000000;
JSON
{
  "hex": "#27040f",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 15
  },
  "hsl": {
    "h": 341.143,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18475,
    "c": 0.0611,
    "h": 4.9
  },
  "luminance": 0.00553
}

Semantic roles & 50–950 ramp

primary
#27040F
secondary
#1D6A52
accent
#F8B930
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#050001
muted
#7A7777

Preview Lab

Preview with #27040F

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

Preview Lab → · Contrast checker → · Palette generator →

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