#310E2B#310E2B

#310E2B is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.4% C 0.071 H 334.8°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#310E2B
RGBrgb(49, 14, 43)
HSLhsl(310, 56%, 12%)
HSVhsv(310, 71%, 19%)
CMYKcmyk(0%, 71.4%, 12.2%, 80.8%)
CIE-LABlab(10.12, 22.15, -11.10)
CIE-LCHlch(10.12, 24.77, 333.38°)
OKLaboklab(23.44% 0.0643 -0.0302)
OKLCHoklch(23.44% 0.071 334.8)
XYZxyz(1.8597, 1.1416, 2.4074)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E2B #0E3114
analogous
#260E31 #310E2B #310E19
triadic
#310E2B #2B310E #0E2B31
tetradic
#310E2B #31260E #0E3114 #0E1931
square
#310E2B #31260E #0E3114 #0E1931
split-complementary
#310E2B #19310E #0E3126
monochromatic
#180715 #180715 #310E2B #611C55 #90297F

Accessibility & contrast

On white

17.10
#310E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#310E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310E2B
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E2B#FFFFFF#000000##FFFFFF
##310E2B1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E182C
Deuteranopia (green-blind)
#191E2A
Tritanopia (blue-blind)
#34101A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #310e2b;
/* rgb */ color: rgb(49, 14, 43);
/* oklch */ color: oklch(23.4% 0.071 334.8);
Tailwind
colors: {
  custom: {
    50: '#6b4f64',
    500: '#310e2b',
    950: '#000000',
  },
}
SCSS
$custom: #310e2b;
$custom-light: #6b4f64;
$custom-dark: #000000;
JSON
{
  "hex": "#310e2b",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 43
  },
  "hsl": {
    "h": 310.286,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23438,
    "c": 0.071,
    "h": 334.8
  },
  "luminance": 0.01141
}

Semantic roles & 50–950 ramp

primary
#310E2B
secondary
#2F6C3A
accent
#DF6349
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070205
muted
#7A787A

Preview Lab

Preview with #310E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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