#310112#310112

#310112 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.3% C 0.079 H 4.8°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#310112
RGBrgb(49, 1, 18)
HSLhsl(339, 96%, 10%)
HSVhsv(339, 98%, 19%)
CMYKcmyk(0%, 98%, 63.3%, 80.8%)
CIE-LABlab(6.49, 25.23, 2.07)
CIE-LCHlch(6.49, 25.32, 4.69°)
OKLaboklab(20.33% 0.0788 0.0067)
OKLCHoklch(20.33% 0.079 4.8)
XYZxyz(1.3868, 0.7186, 0.6378)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310112 #013120
analogous
#31012A #310112 #310801
triadic
#310112 #123101 #011231
tetradic
#310112 #2A3101 #013120 #080131
square
#310112 #2A3101 #013120 #080131
split-complementary
#310112 #013108 #012A31
monochromatic
#1E010B #1E010B #310112 #6D0228 #A9033E

Accessibility & contrast

On white

18.36
#310112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#310112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310112
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310112#FFFFFF#000000##FFFFFF
##3101121.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0E12
Deuteranopia (green-blind)
#1A1811
Tritanopia (blue-blind)
#360007
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #310112;
/* rgb */ color: rgb(49, 1, 18);
/* oklch */ color: oklch(20.3% 0.079 4.8);
Tailwind
colors: {
  custom: {
    50: '#6d4750',
    500: '#310112',
    950: '#000000',
  },
}
SCSS
$custom: #310112;
$custom-light: #6d4750;
$custom-dark: #000000;
JSON
{
  "hex": "#310112",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 18
  },
  "hsl": {
    "h": 338.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2033,
    "c": 0.07903,
    "h": 4.8
  },
  "luminance": 0.00718
}

Semantic roles & 50–950 ramp

primary
#310112
secondary
#177755
accent
#FFB329
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #310112

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

Preview Lab → · Contrast checker → · Palette generator →

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