#270718#270718

#270718 is a very dark, muted pink. Relative luminance 0.006; OKLCH L 19.4% C 0.059 H 350.8°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#270718
RGBrgb(39, 7, 24)
HSLhsl(328, 70%, 9%)
HSVhsv(328, 82%, 15%)
CMYKcmyk(0%, 82.1%, 38.5%, 84.7%)
CIE-LABlab(5.87, 18.08, -3.23)
CIE-LCHlch(5.87, 18.36, 349.88°)
OKLaboklab(19.43% 0.058 -0.0094)
OKLCHoklch(19.43% 0.059 350.8)
XYZxyz(1.0776, 0.6494, 0.9326)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270718 #072716
analogous
#260727 #270718 #270708
triadic
#270718 #182707 #071827
tetradic
#270718 #272607 #072716 #070827
square
#270718 #272607 #072716 #070827
split-complementary
#270718 #082707 #072726
monochromatic
#1A0510 #1A0510 #270718 #5B1038 #8F1A58

Accessibility & contrast

On white

18.59
#270718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#270718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270718
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270718#FFFFFF#000000##FFFFFF
##2707181.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0F19
Deuteranopia (green-blind)
#141517
Tritanopia (blue-blind)
#2B060E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #270718;
/* rgb */ color: rgb(39, 7, 24);
/* oklch */ color: oklch(19.4% 0.059 350.8);
Tailwind
colors: {
  custom: {
    50: '#624954',
    500: '#270718',
    950: '#000000',
  },
}
SCSS
$custom: #270718;
$custom-light: #624954;
$custom-dark: #000000;
JSON
{
  "hex": "#270718",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 24
  },
  "hsl": {
    "h": 328.125,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19429,
    "c": 0.05873,
    "h": 350.8
  },
  "luminance": 0.00649
}

Semantic roles & 50–950 ramp

primary
#270718
secondary
#236643
accent
#EC8E3B
background
#F5F4F4
surface
#EAE7E7
border
#C6C3C3
text
#050102
muted
#797778

Preview Lab

Preview with #270718

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

Preview Lab → · Contrast checker → · Palette generator →

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