#310E1D#310E1D

#310E1D is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.7% C 0.060 H 356.2°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#310E1D
RGBrgb(49, 14, 29)
HSLhsl(334, 56%, 12%)
HSVhsv(334, 71%, 19%)
CMYKcmyk(0%, 71.4%, 40.8%, 80.8%)
CIE-LABlab(9.45, 19.65, -1.59)
CIE-LCHlch(9.45, 19.72, 355.37°)
OKLaboklab(22.72% 0.0599 -0.0039)
OKLCHoklch(22.72% 0.06 356.2)
XYZxyz(1.6455, 1.0559, 1.2793)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E1D #0E3122
analogous
#310E2F #310E1D #31110E
triadic
#310E1D #1D310E #0E1D31
tetradic
#310E1D #2F310E #0E3122 #110E31
square
#310E1D #2F310E #0E3122 #110E31
split-complementary
#310E1D #0E3111 #0E2F31
monochromatic
#18070E #18070E #310E1D #611C39 #902955

Accessibility & contrast

On white

17.34
#310E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310E1D
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E1D#FFFFFF#000000##FFFFFF
##310E1D1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14161D
Deuteranopia (green-blind)
#1D1D1C
Tritanopia (blue-blind)
#350B14
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310e1d;
/* rgb */ color: rgb(49, 14, 29);
/* oklch */ color: oklch(22.7% 0.060 356.2);
Tailwind
colors: {
  custom: {
    50: '#6b4e58',
    500: '#310e1d',
    950: '#000000',
  },
}
SCSS
$custom: #310e1d;
$custom-light: #6b4e58;
$custom-dark: #000000;
JSON
{
  "hex": "#310e1d",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 29
  },
  "hsl": {
    "h": 334.286,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22723,
    "c": 0.06003,
    "h": 356.2
  },
  "luminance": 0.01056
}

Semantic roles & 50–950 ramp

primary
#310E1D
secondary
#2F6C52
accent
#DF9F49
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #310E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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