#270118#270118

#270118 is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.3% C 0.073 H 347.6°. Best body text is #FFFFFF at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#270118
RGBrgb(39, 1, 24)
HSLhsl(324, 95%, 8%)
HSVhsv(324, 97%, 15%)
CMYKcmyk(0%, 97.4%, 38.5%, 84.7%)
CIE-LABlab(4.69, 20.84, -4.94)
CIE-LCHlch(4.69, 21.42, 346.65°)
OKLaboklab(18.29% 0.0718 -0.0158)
OKLCHoklch(18.29% 0.073 347.6)
XYZxyz(1.0125, 0.5191, 0.9109)
Luminance0.0052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270118 #012710
analogous
#230127 #270118 #270105
triadic
#270118 #182701 #011827
tetradic
#270118 #272301 #012710 #010527
square
#270118 #272301 #012710 #010527
split-complementary
#270118 #052701 #012723
monochromatic
#1E0112 #1E0112 #270118 #63033D #9E0461

Accessibility & contrast

On white

19.03
#270118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#270118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270118
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270118#FFFFFF#000000##FFFFFF
##2701181.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050B19
Deuteranopia (green-blind)
#111317
Tritanopia (blue-blind)
#2B000A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #270118;
/* rgb */ color: rgb(39, 1, 24);
/* oklch */ color: oklch(18.3% 0.073 347.6);
Tailwind
colors: {
  custom: {
    50: '#634654',
    500: '#270118',
    950: '#000000',
  },
}
SCSS
$custom: #270118;
$custom-light: #634654;
$custom-dark: #000000;
JSON
{
  "hex": "#270118",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 24
  },
  "hsl": {
    "h": 323.684,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18294,
    "c": 0.07346,
    "h": 347.6
  },
  "luminance": 0.00519
}

Semantic roles & 50–950 ramp

primary
#270118
secondary
#166E39
accent
#FF7D29
background
#F6F3F4
surface
#EBE5E7
border
#C6C1C3
text
#050002
muted
#7A7778

Preview Lab

Preview with #270118

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

Preview Lab → · Contrast checker → · Palette generator →

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