#310C24#310C24

#310C24 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.8% C 0.068 H 344.1°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#310C24
RGBrgb(49, 12, 36)
HSLhsl(321, 61%, 12%)
HSVhsv(321, 76%, 19%)
CMYKcmyk(0%, 75.5%, 26.5%, 80.8%)
CIE-LABlab(9.35, 21.93, -7.05)
CIE-LCHlch(9.35, 23.03, 342.17°)
OKLaboklab(22.75% 0.0658 -0.0188)
OKLCHoklch(22.75% 0.068 344.1)
XYZxyz(1.7166, 1.0434, 1.7797)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310C24 #0C3119
analogous
#2C0C31 #310C24 #310C12
triadic
#310C24 #24310C #0C2431
tetradic
#310C24 #312C0C #0C3119 #0C1231
square
#310C24 #312C0C #0C3119 #0C1231
split-complementary
#310C24 #12310C #0C312C
monochromatic
#190612 #190612 #310C24 #621848 #93246C

Accessibility & contrast

On white

17.38
#310C24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#310C24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310C24
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310C24#FFFFFF#000000##FFFFFF
##310C241.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1625
Deuteranopia (green-blind)
#1A1C23
Tritanopia (blue-blind)
#350C16
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310c24;
/* rgb */ color: rgb(49, 12, 36);
/* oklch */ color: oklch(22.8% 0.068 344.1);
Tailwind
colors: {
  custom: {
    50: '#6b4d5e',
    500: '#310c24',
    950: '#000000',
  },
}
SCSS
$custom: #310c24;
$custom-light: #6b4d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#310c24",
  "rgb": {
    "r": 49,
    "g": 12,
    "b": 36
  },
  "hsl": {
    "h": 321.081,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22751,
    "c": 0.06844,
    "h": 344.1
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#310C24
secondary
#2C6D43
accent
#E47C44
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310C24

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

Preview Lab → · Contrast checker → · Palette generator →

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