#310B15#310B15

#310B15 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.0% C 0.062 H 7.8°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#310B15
RGBrgb(49, 11, 21)
HSLhsl(344, 63%, 12%)
HSVhsv(344, 78%, 19%)
CMYKcmyk(0%, 77.6%, 57.1%, 80.8%)
CIE-LABlab(8.54, 20.25, 3.11)
CIE-LCHlch(8.54, 20.49, 8.73°)
OKLaboklab(21.95% 0.0616 0.0084)
OKLCHoklch(21.95% 0.062 7.8)
XYZxyz(1.5218, 0.9466, 0.8119)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310B15 #0B3127
analogous
#310B28 #310B15 #31140B
triadic
#310B15 #15310B #0B1531
tetradic
#310B15 #28310B #0B3127 #140B31
square
#310B15 #28310B #0B3127 #140B31
split-complementary
#310B15 #0B3114 #0B2831
monochromatic
#19060B #19060B #310B15 #63162A #952140

Accessibility & contrast

On white

17.66
#310B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#310B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310B15
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310B15#FFFFFF#000000##FFFFFF
##310B151.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131415
Deuteranopia (green-blind)
#1D1B14
Tritanopia (blue-blind)
#36060F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310b15;
/* rgb */ color: rgb(49, 11, 21);
/* oklch */ color: oklch(22.0% 0.062 7.8);
Tailwind
colors: {
  custom: {
    50: '#6c4c52',
    500: '#310b15',
    950: '#000000',
  },
}
SCSS
$custom: #310b15;
$custom-light: #6c4c52;
$custom-dark: #000000;
JSON
{
  "hex": "#310b15",
  "rgb": {
    "r": 49,
    "g": 11,
    "b": 21
  },
  "hsl": {
    "h": 344.211,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21951,
    "c": 0.06218,
    "h": 7.8
  },
  "luminance": 0.00946
}

Semantic roles & 50–950 ramp

primary
#310B15
secondary
#2A6E5C
accent
#E6BB41
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310B15

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

Preview Lab → · Contrast checker → · Palette generator →

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