#270918#270918

#270918 is a very dark, muted pink. Relative luminance 0.007; OKLCH L 19.8% C 0.054 H 352.1°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#270918
RGBrgb(39, 9, 24)
HSLhsl(330, 63%, 9%)
HSVhsv(330, 77%, 15%)
CMYKcmyk(0%, 76.9%, 38.5%, 84.7%)
CIE-LABlab(6.26, 17.13, -2.65)
CIE-LCHlch(6.26, 17.34, 351.20°)
OKLaboklab(19.78% 0.054 -0.0075)
OKLCHoklch(19.78% 0.055 352.1)
XYZxyz(1.0993, 0.6928, 0.9398)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270918 #092718
analogous
#270927 #270918 #270909
triadic
#270918 #182709 #091827
tetradic
#270918 #272709 #092718 #090927
square
#270918 #272709 #092718 #090927
split-complementary
#270918 #092709 #092727
monochromatic
#19060F #19060F #270918 #591437 #8A2055

Accessibility & contrast

On white

18.44
#270918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#270918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270918
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270918#FFFFFF#000000##FFFFFF
##2709181.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1018
Deuteranopia (green-blind)
#151617
Tritanopia (blue-blind)
#2A080F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #270918;
/* rgb */ color: rgb(39, 9, 24);
/* oklch */ color: oklch(19.8% 0.054 352.1);
Tailwind
colors: {
  custom: {
    50: '#624a54',
    500: '#270918',
    950: '#000000',
  },
}
SCSS
$custom: #270918;
$custom-light: #624a54;
$custom-dark: #000000;
JSON
{
  "hex": "#270918",
  "rgb": {
    "r": 39,
    "g": 9,
    "b": 24
  },
  "hsl": {
    "h": 330,
    "s": 62.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19778,
    "c": 0.0545,
    "h": 352.1
  },
  "luminance": 0.00693
}

Semantic roles & 50–950 ramp

primary
#270918
secondary
#276446
accent
#E69442
background
#F5F4F4
surface
#EAE7E7
border
#C6C3C3
text
#050102
muted
#797778

Preview Lab

Preview with #270918

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

Preview Lab → · Contrast checker → · Palette generator →

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