#270D18#270D18

#270D18 is a very dark, muted pink. Relative luminance 0.008; OKLCH L 20.5% C 0.046 H 355.4°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#270D18
RGBrgb(39, 13, 24)
HSLhsl(335, 50%, 10%)
HSVhsv(335, 67%, 15%)
CMYKcmyk(0%, 66.7%, 38.5%, 84.7%)
CIE-LABlab(7.09, 15.10, -1.43)
CIE-LCHlch(7.09, 15.17, 354.58°)
OKLaboklab(20.48% 0.0463 -0.0037)
OKLCHoklch(20.48% 0.046 355.4)
XYZxyz(1.1455, 0.7852, 0.9552)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D18 #0D271C
analogous
#270D25 #270D18 #270F0D
triadic
#270D18 #18270D #0D1827
tetradic
#270D18 #25270D #0D271C #0F0D27
square
#270D18 #25270D #0D271C #0F0D27
split-complementary
#270D18 #0D270F #0D2527
monochromatic
#17080E #17080E #270D18 #551C34 #832C50

Accessibility & contrast

On white

18.15
#270D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#270D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270D18
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D18#FFFFFF#000000##FFFFFF
##270D181.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111318
Deuteranopia (green-blind)
#171717
Tritanopia (blue-blind)
#2A0B11
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #270d18;
/* rgb */ color: rgb(39, 13, 24);
/* oklch */ color: oklch(20.5% 0.046 355.4);
Tailwind
colors: {
  custom: {
    50: '#624c54',
    500: '#270d18',
    950: '#000000',
  },
}
SCSS
$custom: #270d18;
$custom-light: #624c54;
$custom-dark: #000000;
JSON
{
  "hex": "#270d18",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 24
  },
  "hsl": {
    "h": 334.615,
    "s": 50,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20481,
    "c": 0.04643,
    "h": 355.4
  },
  "luminance": 0.00785
}

Semantic roles & 50–950 ramp

primary
#270D18
secondary
#2F614C
accent
#DA9F4E
background
#F5F4F4
surface
#EAE7E7
border
#C6C3C3
text
#050102
muted
#797778

Preview Lab

Preview with #270D18

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

Preview Lab → · Contrast checker → · Palette generator →

#270D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva