#310A23#310A23

#310A23 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.4% C 0.071 H 345.0°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#310A23
RGBrgb(49, 10, 35)
HSLhsl(322, 66%, 12%)
HSVhsv(322, 80%, 19%)
CMYKcmyk(0%, 79.6%, 28.6%, 80.8%)
CIE-LABlab(8.92, 22.79, -6.95)
CIE-LCHlch(8.92, 23.83, 343.04°)
OKLaboklab(22.42% 0.0687 -0.0185)
OKLCHoklch(22.42% 0.071 345)
XYZxyz(1.6786, 0.9916, 1.6928)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A23 #0A3118
analogous
#2C0A31 #310A23 #310A10
triadic
#310A23 #23310A #0A2331
tetradic
#310A23 #312C0A #0A3118 #0A1031
square
#310A23 #312C0A #0A3118 #0A1031
split-complementary
#310A23 #10310A #0A312C
monochromatic
#190512 #190512 #310A23 #641447 #971F6C

Accessibility & contrast

On white

17.53
#310A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#310A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310A23
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A23#FFFFFF#000000##FFFFFF
##310A231.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1524
Deuteranopia (green-blind)
#1A1C22
Tritanopia (blue-blind)
#350A15
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310a23;
/* rgb */ color: rgb(49, 10, 35);
/* oklch */ color: oklch(22.4% 0.071 345.0);
Tailwind
colors: {
  custom: {
    50: '#6b4c5d',
    500: '#310a23',
    950: '#000000',
  },
}
SCSS
$custom: #310a23;
$custom-light: #6b4c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#310a23",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 35
  },
  "hsl": {
    "h": 321.538,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22421,
    "c": 0.07115,
    "h": 345
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#310A23
secondary
#296E42
accent
#E97C3F
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310A23

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

Preview Lab → · Contrast checker → · Palette generator →

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