#31102A#31102A

#31102A is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.7% C 0.066 H 336.4°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#31102A
RGBrgb(49, 16, 42)
HSLhsl(313, 51%, 13%)
HSVhsv(313, 67%, 19%)
CMYKcmyk(0%, 67.3%, 14.3%, 80.8%)
CIE-LABlab(10.49, 20.79, -9.78)
CIE-LCHlch(10.49, 22.98, 334.80°)
OKLaboklab(23.69% 0.0607 -0.0265)
OKLCHoklch(23.69% 0.066 336.4)
XYZxyz(1.8698, 1.1909, 2.3214)
Luminance0.0119 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31102A #103117
analogous
#271031 #31102A #311019
triadic
#31102A #2A3110 #102A31
tetradic
#31102A #312710 #103117 #101931
square
#31102A #312710 #103117 #101931
split-complementary
#31102A #193110 #103127
monochromatic
#170814 #170814 #31102A #5F1F52 #8D2E79

Accessibility & contrast

On white

16.96
#31102A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31102A
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31102A#FFFFFF#000000##FFFFFF
##31102A1.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10192B
Deuteranopia (green-blind)
#1A1E29
Tritanopia (blue-blind)
#34121B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #31102a;
/* rgb */ color: rgb(49, 16, 42);
/* oklch */ color: oklch(23.7% 0.066 336.4);
Tailwind
colors: {
  custom: {
    50: '#6a5063',
    500: '#31102a',
    950: '#000000',
  },
}
SCSS
$custom: #31102a;
$custom-light: #6a5063;
$custom-dark: #000000;
JSON
{
  "hex": "#31102a",
  "rgb": {
    "r": 49,
    "g": 16,
    "b": 42
  },
  "hsl": {
    "h": 312.727,
    "s": 50.769,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23693,
    "c": 0.06619,
    "h": 336.4
  },
  "luminance": 0.01191
}

Semantic roles & 50–950 ramp

primary
#31102A
secondary
#336A3E
accent
#DA6B4E
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #31102A

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

Preview Lab → · Contrast checker → · Palette generator →

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