#310323#310323

#310323 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.4% C 0.084 H 343.3°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#310323
RGBrgb(49, 3, 35)
HSLhsl(318, 88%, 10%)
HSVhsv(318, 94%, 19%)
CMYKcmyk(0%, 93.9%, 28.6%, 80.8%)
CIE-LABlab(7.58, 26.56, -9.00)
CIE-LCHlch(7.58, 28.04, 341.27°)
OKLaboklab(21.44% 0.0804 -0.0242)
OKLCHoklch(21.44% 0.084 343.3)
XYZxyz(1.6026, 0.8396, 1.6674)
Luminance0.0084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310323 #033111
analogous
#280331 #310323 #31030C
triadic
#310323 #233103 #032331
tetradic
#310323 #312803 #033111 #030C31
square
#310323 #312803 #033111 #030C31
split-complementary
#310323 #0C3103 #033128
monochromatic
#1D0215 #1D0215 #310323 #6B074C #A40A75

Accessibility & contrast

On white

17.98
#310323 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310323
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310323#FFFFFF#000000##FFFFFF
##3103231.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071224
Deuteranopia (green-blind)
#161922
Tritanopia (blue-blind)
#350312
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310323;
/* rgb */ color: rgb(49, 3, 35);
/* oklch */ color: oklch(21.4% 0.084 343.3);
Tailwind
colors: {
  custom: {
    50: '#6c485d',
    500: '#310323',
    950: '#000000',
  },
}
SCSS
$custom: #310323;
$custom-light: #6c485d;
$custom-dark: #000000;
JSON
{
  "hex": "#310323",
  "rgb": {
    "r": 49,
    "g": 3,
    "b": 35
  },
  "hsl": {
    "h": 318.261,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21444,
    "c": 0.08396,
    "h": 343.3
  },
  "luminance": 0.00839
}

Semantic roles & 50–950 ramp

primary
#310323
secondary
#1B7436
accent
#FF6A29
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310323

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

Preview Lab → · Contrast checker → · Palette generator →

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