#310514#310514

#310514 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.0% C 0.072 H 4.8°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#310514
RGBrgb(49, 5, 20)
HSLhsl(340, 81%, 11%)
HSVhsv(340, 90%, 19%)
CMYKcmyk(0%, 89.8%, 59.2%, 80.8%)
CIE-LABlab(7.34, 23.34, 2.03)
CIE-LCHlch(7.34, 23.43, 4.98°)
OKLaboklab(21.04% 0.0717 0.006)
OKLCHoklch(21.04% 0.072 4.8)
XYZxyz(1.4473, 0.8122, 0.7422)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310514 #053122
analogous
#31052A #310514 #310C05
triadic
#310514 #143105 #051431
tetradic
#310514 #2A3105 #053122 #0C0531
square
#310514 #2A3105 #053122 #0C0531
split-complementary
#310514 #05310C #052A31
monochromatic
#1C030B #1C030B #310514 #690B2B #A01041

Accessibility & contrast

On white

18.07
#310514 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#310514 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310514
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310514#FFFFFF#000000##FFFFFF
##3105141.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1114
Deuteranopia (green-blind)
#1B1913
Tritanopia (blue-blind)
#36000B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310514;
/* rgb */ color: rgb(49, 5, 20);
/* oklch */ color: oklch(21.0% 0.072 4.8);
Tailwind
colors: {
  custom: {
    50: '#6c4951',
    500: '#310514',
    950: '#000000',
  },
}
SCSS
$custom: #310514;
$custom-light: #6c4951;
$custom-dark: #000000;
JSON
{
  "hex": "#310514",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 20
  },
  "hsl": {
    "h": 339.545,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21036,
    "c": 0.0719,
    "h": 4.8
  },
  "luminance": 0.00812
}

Semantic roles & 50–950 ramp

primary
#310514
secondary
#1F7256
accent
#F8B430
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310514

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

Preview Lab → · Contrast checker → · Palette generator →

#310514 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva