#310A15#310A15

#310A15 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.8% C 0.064 H 7.0°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#310A15
RGBrgb(49, 10, 21)
HSLhsl(343, 66%, 12%)
HSVhsv(343, 80%, 19%)
CMYKcmyk(0%, 79.6%, 57.1%, 80.8%)
CIE-LABlab(8.35, 20.78, 2.83)
CIE-LCHlch(8.35, 20.97, 7.75°)
OKLaboklab(21.81% 0.0633 0.0078)
OKLCHoklch(21.81% 0.064 7)
XYZxyz(1.5106, 0.9244, 0.8082)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A15 #0A3126
analogous
#310A29 #310A15 #31130A
triadic
#310A15 #15310A #0A1531
tetradic
#310A15 #29310A #0A3126 #130A31
square
#310A15 #29310A #0A3126 #130A31
split-complementary
#310A15 #0A3113 #0A2931
monochromatic
#19050B #19050B #310A15 #64142B #971F41

Accessibility & contrast

On white

17.72
#310A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#310A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310A15
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A15#FFFFFF#000000##FFFFFF
##310A151.0017.721.1817.72
#FFFFFF17.721.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131315
Deuteranopia (green-blind)
#1D1B14
Tritanopia (blue-blind)
#36050E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310a15;
/* rgb */ color: rgb(49, 10, 21);
/* oklch */ color: oklch(21.8% 0.064 7.0);
Tailwind
colors: {
  custom: {
    50: '#6c4c52',
    500: '#310a15',
    950: '#000000',
  },
}
SCSS
$custom: #310a15;
$custom-light: #6c4c52;
$custom-dark: #000000;
JSON
{
  "hex": "#310a15",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 21
  },
  "hsl": {
    "h": 343.077,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21807,
    "c": 0.06376,
    "h": 7
  },
  "luminance": 0.00924
}

Semantic roles & 50–950 ramp

primary
#310A15
secondary
#296E5B
accent
#E9B93F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310A15

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

Preview Lab → · Contrast checker → · Palette generator →

#310A15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva