#31102B#31102B

#31102B is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.8% C 0.067 H 335.0°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#31102B
RGBrgb(49, 16, 43)
HSLhsl(311, 51%, 13%)
HSVhsv(311, 67%, 19%)
CMYKcmyk(0%, 67.3%, 12.2%, 80.8%)
CIE-LABlab(10.54, 21.00, -10.44)
CIE-LCHlch(10.54, 23.45, 333.56°)
OKLaboklab(23.75% 0.0609 -0.0283)
OKLCHoklch(23.75% 0.067 335)
XYZxyz(1.8880, 1.1981, 2.4169)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31102B #103116
analogous
#261031 #31102B #31101A
triadic
#31102B #2B3110 #102B31
tetradic
#31102B #312610 #103116 #101A31
square
#31102B #312610 #103116 #101A31
split-complementary
#31102B #1A3110 #103126
monochromatic
#170814 #170814 #31102B #5F1F53 #8D2E7C

Accessibility & contrast

On white

16.94
#31102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#31102B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31102B
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31102B#FFFFFF#000000##FFFFFF
##31102B1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10192C
Deuteranopia (green-blind)
#1A1E2A
Tritanopia (blue-blind)
#34121B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #31102b;
/* rgb */ color: rgb(49, 16, 43);
/* oklch */ color: oklch(23.8% 0.067 335.0);
Tailwind
colors: {
  custom: {
    50: '#6a5064',
    500: '#31102b',
    950: '#000000',
  },
}
SCSS
$custom: #31102b;
$custom-light: #6a5064;
$custom-dark: #000000;
JSON
{
  "hex": "#31102b",
  "rgb": {
    "r": 49,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 310.909,
    "s": 50.769,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2375,
    "c": 0.06718,
    "h": 335
  },
  "luminance": 0.01198
}

Semantic roles & 50–950 ramp

primary
#31102B
secondary
#336A3D
accent
#DA674E
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #31102B

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

Preview Lab → · Contrast checker → · Palette generator →

#31102B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva