#310E1E#310E1E

#310E1E is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.8% C 0.061 H 354.5°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#310E1E
RGBrgb(49, 14, 30)
HSLhsl(333, 56%, 12%)
HSVhsv(333, 71%, 19%)
CMYKcmyk(0%, 71.4%, 38.8%, 80.8%)
CIE-LABlab(9.49, 19.81, -2.29)
CIE-LCHlch(9.49, 19.94, 353.40°)
OKLaboklab(22.77% 0.0603 -0.0058)
OKLCHoklch(22.77% 0.061 354.5)
XYZxyz(1.6581, 1.0610, 1.3455)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E1E #0E3121
analogous
#310E30 #310E1E #310F0E
triadic
#310E1E #1E310E #0E1E31
tetradic
#310E1E #30310E #0E3121 #0F0E31
square
#310E1E #30310E #0E3121 #0F0E31
split-complementary
#310E1E #0E310F #0E3031
monochromatic
#18070F #18070F #310E1E #611C3B #902958

Accessibility & contrast

On white

17.32
#310E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#310E1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310E1E
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E1E#FFFFFF#000000##FFFFFF
##310E1E1.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13161E
Deuteranopia (green-blind)
#1D1D1D
Tritanopia (blue-blind)
#350C14
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310e1e;
/* rgb */ color: rgb(49, 14, 30);
/* oklch */ color: oklch(22.8% 0.061 354.5);
Tailwind
colors: {
  custom: {
    50: '#6b4e59',
    500: '#310e1e',
    950: '#000000',
  },
}
SCSS
$custom: #310e1e;
$custom-light: #6b4e59;
$custom-dark: #000000;
JSON
{
  "hex": "#310e1e",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 30
  },
  "hsl": {
    "h": 332.571,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22766,
    "c": 0.06059,
    "h": 354.5
  },
  "luminance": 0.01061
}

Semantic roles & 50–950 ramp

primary
#310E1E
secondary
#2F6C50
accent
#DF9A49
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #310E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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