#310515#310515

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

Color values

HEX#310515
RGBrgb(49, 5, 21)
HSLhsl(338, 81%, 11%)
HSVhsv(338, 90%, 19%)
CMYKcmyk(0%, 89.8%, 57.1%, 80.8%)
CIE-LABlab(7.37, 23.46, 1.40)
CIE-LCHlch(7.37, 23.50, 3.42°)
OKLaboklab(21.07% 0.0721 0.0042)
OKLCHoklch(21.07% 0.072 3.3)
XYZxyz(1.4564, 0.8158, 0.7901)
Luminance0.0082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310515 #053121
analogous
#31052B #310515 #310B05
triadic
#310515 #153105 #051531
tetradic
#310515 #2B3105 #053121 #0B0531
square
#310515 #2B3105 #053121 #0B0531
split-complementary
#310515 #05310B #052B31
monochromatic
#1C030C #1C030C #310515 #690B2D #A01045

Accessibility & contrast

On white

18.05
#310515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310515
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310515#FFFFFF#000000##FFFFFF
##3105151.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #310515;
/* rgb */ color: rgb(49, 5, 21);
/* oklch */ color: oklch(21.1% 0.072 3.3);
Tailwind
colors: {
  custom: {
    50: '#6c4952',
    500: '#310515',
    950: '#000000',
  },
}
SCSS
$custom: #310515;
$custom-light: #6c4952;
$custom-dark: #000000;
JSON
{
  "hex": "#310515",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 21
  },
  "hsl": {
    "h": 338.182,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21073,
    "c": 0.07223,
    "h": 3.3
  },
  "luminance": 0.00816
}

Semantic roles & 50–950 ramp

primary
#310515
secondary
#1F7254
accent
#F8AF30
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310515

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

Preview Lab → · Contrast checker → · Palette generator →

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