#311027#311027

#311027 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.5% C 0.063 H 340.8°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#311027
RGBrgb(49, 16, 39)
HSLhsl(318, 51%, 13%)
HSVhsv(318, 67%, 19%)
CMYKcmyk(0%, 67.3%, 20.4%, 80.8%)
CIE-LABlab(10.34, 20.21, -7.79)
CIE-LCHlch(10.34, 21.66, 338.91°)
OKLaboklab(23.53% 0.0599 -0.0209)
OKLCHoklch(23.53% 0.063 340.8)
XYZxyz(1.8182, 1.1702, 2.0492)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311027 #10311A
analogous
#2A1031 #311027 #311016
triadic
#311027 #273110 #102731
tetradic
#311027 #312A10 #10311A #101631
square
#311027 #312A10 #10311A #101631
split-complementary
#311027 #163110 #10312A
monochromatic
#170812 #170812 #311027 #5F1F4C #8D2E70

Accessibility & contrast

On white

17.02
#311027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#311027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311027
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311027#FFFFFF#000000##FFFFFF
##3110271.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121928
Deuteranopia (green-blind)
#1B1E26
Tritanopia (blue-blind)
#341119
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #311027;
/* rgb */ color: rgb(49, 16, 39);
/* oklch */ color: oklch(23.5% 0.063 340.8);
Tailwind
colors: {
  custom: {
    50: '#6a5061',
    500: '#311027',
    950: '#000000',
  },
}
SCSS
$custom: #311027;
$custom-light: #6a5061;
$custom-dark: #000000;
JSON
{
  "hex": "#311027",
  "rgb": {
    "r": 49,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 318.182,
    "s": 50.769,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23528,
    "c": 0.06339,
    "h": 340.8
  },
  "luminance": 0.0117
}

Semantic roles & 50–950 ramp

primary
#311027
secondary
#336A43
accent
#DA784E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070205
muted
#7A7879

Preview Lab

Preview with #311027

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

Preview Lab → · Contrast checker → · Palette generator →

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