#270F22#270F22

#270F22 is a very dark, muted pink. Relative luminance 0.009; OKLCH L 21.4% C 0.051 H 335.6°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#270F22
RGBrgb(39, 15, 34)
HSLhsl(313, 44%, 11%)
HSVhsv(313, 62%, 15%)
CMYKcmyk(0%, 61.5%, 12.8%, 84.7%)
CIE-LABlab(8.03, 15.90, -7.73)
CIE-LCHlch(8.03, 17.68, 334.08°)
OKLaboklab(21.36% 0.046 -0.0209)
OKLCHoklch(21.36% 0.051 335.6)
XYZxyz(1.2963, 0.8886, 1.6163)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270F22 #0F2714
analogous
#200F27 #270F22 #270F16
triadic
#270F22 #22270F #0F2227
tetradic
#270F22 #27200F #0F2714 #0F1627
square
#270F22 #27200F #0F2714 #0F1627
split-complementary
#270F22 #16270F #0F2720
monochromatic
#160913 #160913 #270F22 #532049 #7F316F

Accessibility & contrast

On white

17.83
#270F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#270F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270F22
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270F22#FFFFFF#000000##FFFFFF
##270F221.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1523
Deuteranopia (green-blind)
#161921
Tritanopia (blue-blind)
#291016
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #270f22;
/* rgb */ color: rgb(39, 15, 34);
/* oklch */ color: oklch(21.4% 0.051 335.6);
Tailwind
colors: {
  custom: {
    50: '#624e5d',
    500: '#270f22',
    950: '#000000',
  },
}
SCSS
$custom: #270f22;
$custom-light: #624e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#270f22",
  "rgb": {
    "r": 39,
    "g": 15,
    "b": 34
  },
  "hsl": {
    "h": 312.5,
    "s": 44.444,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21359,
    "c": 0.05055,
    "h": 335.6
  },
  "luminance": 0.00888
}

Semantic roles & 50–950 ramp

primary
#270F22
secondary
#32603C
accent
#D46E54
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050104
muted
#797779

Preview Lab

Preview with #270F22

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

Preview Lab → · Contrast checker → · Palette generator →

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