#310E27#310E27

#310E27 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.2% C 0.067 H 340.3°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#310E27
RGBrgb(49, 14, 39)
HSLhsl(317, 56%, 12%)
HSVhsv(317, 71%, 19%)
CMYKcmyk(0%, 71.4%, 20.4%, 80.8%)
CIE-LABlab(9.90, 21.37, -8.45)
CIE-LCHlch(9.90, 22.98, 338.41°)
OKLaboklab(23.21% 0.0633 -0.0227)
OKLCHoklch(23.21% 0.067 340.3)
XYZxyz(1.7899, 1.1137, 2.0398)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E27 #0E3118
analogous
#2A0E31 #310E27 #310E15
triadic
#310E27 #27310E #0E2731
tetradic
#310E27 #312A0E #0E3118 #0E1531
square
#310E27 #312A0E #0E3118 #0E1531
split-complementary
#310E27 #15310E #0E312A
monochromatic
#180713 #180713 #310E27 #611C4D #902973

Accessibility & contrast

On white

17.17
#310E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#310E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310E27
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E27#FFFFFF#000000##FFFFFF
##310E271.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101828
Deuteranopia (green-blind)
#1A1D26
Tritanopia (blue-blind)
#340F18
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #310e27;
/* rgb */ color: rgb(49, 14, 39);
/* oklch */ color: oklch(23.2% 0.067 340.3);
Tailwind
colors: {
  custom: {
    50: '#6b4f61',
    500: '#310e27',
    950: '#000000',
  },
}
SCSS
$custom: #310e27;
$custom-light: #6b4f61;
$custom-dark: #000000;
JSON
{
  "hex": "#310e27",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 39
  },
  "hsl": {
    "h": 317.143,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2321,
    "c": 0.06727,
    "h": 340.3
  },
  "luminance": 0.01114
}

Semantic roles & 50–950 ramp

primary
#310E27
secondary
#2F6C41
accent
#DF7449
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070205
muted
#7A7879

Preview Lab

Preview with #310E27

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

Preview Lab → · Contrast checker → · Palette generator →

#310E27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva