#310115#310115

#310115 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.4% C 0.080 H 0.7°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#310115
RGBrgb(49, 1, 21)
HSLhsl(335, 96%, 10%)
HSVhsv(335, 98%, 19%)
CMYKcmyk(0%, 98%, 57.1%, 80.8%)
CIE-LABlab(6.58, 25.59, 0.26)
CIE-LCHlch(6.58, 25.60, 0.58°)
OKLaboklab(20.44% 0.0801 0.001)
OKLCHoklch(20.44% 0.08 0.7)
XYZxyz(1.4130, 0.7290, 0.7756)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310115 #01311D
analogous
#31012D #310115 #310501
triadic
#310115 #153101 #011531
tetradic
#310115 #2D3101 #01311D #050131
square
#310115 #2D3101 #01311D #050131
split-complementary
#310115 #013105 #012D31
monochromatic
#1E010D #1E010D #310115 #6D022F #A90348

Accessibility & contrast

On white

18.33
#310115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#310115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310115
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310115#FFFFFF#000000##FFFFFF
##3101151.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0E15
Deuteranopia (green-blind)
#191814
Tritanopia (blue-blind)
#360009
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310115;
/* rgb */ color: rgb(49, 1, 21);
/* oklch */ color: oklch(20.4% 0.080 0.7);
Tailwind
colors: {
  custom: {
    50: '#6d4752',
    500: '#310115',
    950: '#000000',
  },
}
SCSS
$custom: #310115;
$custom-light: #6d4752;
$custom-dark: #000000;
JSON
{
  "hex": "#310115",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 21
  },
  "hsl": {
    "h": 335,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20444,
    "c": 0.08006,
    "h": 0.7
  },
  "luminance": 0.00729
}

Semantic roles & 50–950 ramp

primary
#310115
secondary
#17774F
accent
#FFA629
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #310115

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

Preview Lab → · Contrast checker → · Palette generator →

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