#270216#270216

#270216 is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.4% C 0.069 H 351.2°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#270216
RGBrgb(39, 2, 22)
HSLhsl(328, 90%, 8%)
HSVhsv(328, 95%, 15%)
CMYKcmyk(0%, 94.9%, 43.6%, 84.7%)
CIE-LABlab(4.81, 19.97, -3.27)
CIE-LCHlch(4.81, 20.24, 350.70°)
OKLaboklab(18.39% 0.0686 -0.0106)
OKLCHoklch(18.39% 0.069 351.2)
XYZxyz(1.0033, 0.5328, 0.8089)
Luminance0.0053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270216 #022713
analogous
#250227 #270216 #270203
triadic
#270216 #162702 #021627
tetradic
#270216 #272502 #022713 #020327
square
#270216 #272502 #022713 #020327
split-complementary
#270216 #032702 #022725
monochromatic
#1D0110 #1D0110 #270216 #610537 #9B0858

Accessibility & contrast

On white

18.98
#270216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#270216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270216
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270216#FFFFFF#000000##FFFFFF
##2702161.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070C17
Deuteranopia (green-blind)
#121315
Tritanopia (blue-blind)
#2B010A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #270216;
/* rgb */ color: rgb(39, 2, 22);
/* oklch */ color: oklch(18.4% 0.069 351.2);
Tailwind
colors: {
  custom: {
    50: '#634752',
    500: '#270216',
    950: '#000000',
  },
}
SCSS
$custom: #270216;
$custom-light: #634752;
$custom-dark: #000000;
JSON
{
  "hex": "#270216",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 22
  },
  "hsl": {
    "h": 327.568,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18387,
    "c": 0.06946,
    "h": 351.2
  },
  "luminance": 0.00533
}

Semantic roles & 50–950 ramp

primary
#270216
secondary
#186C3F
accent
#FF8B29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#050002
muted
#7A7778

Preview Lab

Preview with #270216

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

Preview Lab → · Contrast checker → · Palette generator →

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