#310324#310324

#310324 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.5% C 0.085 H 342.1°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#310324
RGBrgb(49, 3, 36)
HSLhsl(317, 88%, 10%)
HSVhsv(317, 94%, 19%)
CMYKcmyk(0%, 93.9%, 26.5%, 80.8%)
CIE-LABlab(7.64, 26.73, -9.69)
CIE-LCHlch(7.64, 28.43, 340.08°)
OKLaboklab(21.5% 0.0806 -0.0261)
OKLCHoklch(21.5% 0.085 342.1)
XYZxyz(1.6177, 0.8456, 1.7468)
Luminance0.0084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310324 #033110
analogous
#270331 #310324 #31030D
triadic
#310324 #243103 #032431
tetradic
#310324 #312703 #033110 #030D31
square
#310324 #312703 #033110 #030D31
split-complementary
#310324 #0D3103 #033127
monochromatic
#1D0215 #1D0215 #310324 #6B074E #A40A79

Accessibility & contrast

On white

17.96
#310324 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#310324 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310324
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310324#FFFFFF#000000##FFFFFF
##3103241.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071225
Deuteranopia (green-blind)
#161A23
Tritanopia (blue-blind)
#350312
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310324;
/* rgb */ color: rgb(49, 3, 36);
/* oklch */ color: oklch(21.5% 0.085 342.1);
Tailwind
colors: {
  custom: {
    50: '#6c485e',
    500: '#310324',
    950: '#000000',
  },
}
SCSS
$custom: #310324;
$custom-light: #6c485e;
$custom-dark: #000000;
JSON
{
  "hex": "#310324",
  "rgb": {
    "r": 49,
    "g": 3,
    "b": 36
  },
  "hsl": {
    "h": 316.957,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21503,
    "c": 0.0847,
    "h": 342.1
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#310324
secondary
#1B7435
accent
#FF6629
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310324

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

Preview Lab → · Contrast checker → · Palette generator →

#310324 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva