#310513#310513

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

Color values

HEX#310513
RGBrgb(49, 5, 19)
HSLhsl(341, 81%, 11%)
HSVhsv(341, 90%, 19%)
CMYKcmyk(0%, 89.8%, 61.2%, 80.8%)
CIE-LABlab(7.30, 23.23, 2.64)
CIE-LCHlch(7.30, 23.38, 6.47°)
OKLaboklab(21% 0.0712 0.0079)
OKLCHoklch(21% 0.072 6.3)
XYZxyz(1.4386, 0.8087, 0.6963)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310513 #053123
analogous
#310529 #310513 #310D05
triadic
#310513 #133105 #051331
tetradic
#310513 #293105 #053123 #0D0531
square
#310513 #293105 #053123 #0D0531
split-complementary
#310513 #05310D #052931
monochromatic
#1C030B #1C030B #310513 #690B29 #A0103E

Accessibility & contrast

On white

18.08
#310513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310513
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310513#FFFFFF#000000##FFFFFF
##3105131.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1013
Deuteranopia (green-blind)
#1B1912
Tritanopia (blue-blind)
#36000A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310513;
/* rgb */ color: rgb(49, 5, 19);
/* oklch */ color: oklch(21.0% 0.072 6.3);
Tailwind
colors: {
  custom: {
    50: '#6c4950',
    500: '#310513',
    950: '#000000',
  },
}
SCSS
$custom: #310513;
$custom-light: #6c4950;
$custom-dark: #000000;
JSON
{
  "hex": "#310513",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 19
  },
  "hsl": {
    "h": 340.909,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21,
    "c": 0.07162,
    "h": 6.3
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#310513
secondary
#1F7258
accent
#F8B830
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310513

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

Preview Lab → · Contrast checker → · Palette generator →

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