#270717#270717

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

Color values

HEX#270717
RGBrgb(39, 7, 23)
HSLhsl(330, 70%, 9%)
HSVhsv(330, 82%, 15%)
CMYKcmyk(0%, 82.1%, 41%, 84.7%)
CIE-LABlab(5.83, 17.88, -2.52)
CIE-LCHlch(5.83, 18.06, 351.98°)
OKLaboklab(19.38% 0.0576 -0.0074)
OKLCHoklch(19.38% 0.058 352.7)
XYZxyz(1.0674, 0.6453, 0.8788)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270717 #072717
analogous
#270727 #270717 #270707
triadic
#270717 #172707 #071727
tetradic
#270717 #272707 #072717 #070727
square
#270717 #272707 #072717 #070727
split-complementary
#270717 #072707 #072727
monochromatic
#1A050F #1A050F #270717 #5B1036 #8F1A54

Accessibility & contrast

On white

18.60
#270717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270717
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270717#FFFFFF#000000##FFFFFF
##2707171.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0F17
Deuteranopia (green-blind)
#151516
Tritanopia (blue-blind)
#2B050D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #270717;
/* rgb */ color: rgb(39, 7, 23);
/* oklch */ color: oklch(19.4% 0.058 352.7);
Tailwind
colors: {
  custom: {
    50: '#624953',
    500: '#270717',
    950: '#000000',
  },
}
SCSS
$custom: #270717;
$custom-light: #624953;
$custom-dark: #000000;
JSON
{
  "hex": "#270717",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 23
  },
  "hsl": {
    "h": 330,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19381,
    "c": 0.05807,
    "h": 352.7
  },
  "luminance": 0.00645
}

Semantic roles & 50–950 ramp

primary
#270717
secondary
#236645
accent
#EC943B
background
#F5F4F4
surface
#EAE7E7
border
#C6C3C3
text
#050102
muted
#797778

Preview Lab

Preview with #270717

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

Preview Lab → · Contrast checker → · Palette generator →

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