#31010F#31010F

#31010F is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.2% C 0.078 H 8.9°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#31010F
RGBrgb(49, 1, 15)
HSLhsl(343, 96%, 10%)
HSVhsv(343, 98%, 19%)
CMYKcmyk(0%, 98%, 69.4%, 80.8%)
CIE-LABlab(6.41, 24.91, 3.65)
CIE-LCHlch(6.41, 25.18, 8.34°)
OKLaboklab(20.23% 0.0774 0.0121)
OKLCHoklch(20.23% 0.078 8.9)
XYZxyz(1.3638, 0.7094, 0.5170)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31010F #013123
analogous
#310127 #31010F #310B01
triadic
#31010F #0F3101 #010F31
tetradic
#31010F #273101 #013123 #0B0131
square
#31010F #273101 #013123 #0B0131
split-complementary
#31010F #01310B #012731
monochromatic
#1E0109 #1E0109 #31010F #6D0221 #A90334

Accessibility & contrast

On white

18.39
#31010F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#31010F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31010F
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31010F#FFFFFF#000000##FFFFFF
##31010F1.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0E0F
Deuteranopia (green-blind)
#1A180E
Tritanopia (blue-blind)
#370006
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #31010f;
/* rgb */ color: rgb(49, 1, 15);
/* oklch */ color: oklch(20.2% 0.078 8.9);
Tailwind
colors: {
  custom: {
    50: '#6d474e',
    500: '#31010f',
    950: '#000000',
  },
}
SCSS
$custom: #31010f;
$custom-light: #6d474e;
$custom-dark: #000000;
JSON
{
  "hex": "#31010f",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 15
  },
  "hsl": {
    "h": 342.5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20228,
    "c": 0.07829,
    "h": 8.9
  },
  "luminance": 0.00709
}

Semantic roles & 50–950 ramp

primary
#31010F
secondary
#17775B
accent
#FFC129
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #31010F

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

Preview Lab → · Contrast checker → · Palette generator →

#31010F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva