#310124#310124

#310124 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.2% C 0.089 H 341.7°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#310124
RGBrgb(49, 1, 36)
HSLhsl(316, 96%, 10%)
HSVhsv(316, 98%, 19%)
CMYKcmyk(0%, 98%, 26.5%, 80.8%)
CIE-LABlab(7.25, 27.84, -10.29)
CIE-LCHlch(7.25, 29.68, 339.71°)
OKLaboklab(21.21% 0.0843 -0.0278)
OKLCHoklch(21.21% 0.089 341.7)
XYZxyz(1.5960, 0.8022, 1.7395)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310124 #01310E
analogous
#260131 #310124 #31010C
triadic
#310124 #243101 #012431
tetradic
#310124 #312601 #01310E #010C31
square
#310124 #312601 #01310E #010C31
split-complementary
#310124 #0C3101 #013126
monochromatic
#1E0116 #1E0116 #310124 #6D0250 #A9037C

Accessibility & contrast

On white

18.10
#310124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#310124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310124
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310124#FFFFFF#000000##FFFFFF
##3101241.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051125
Deuteranopia (green-blind)
#151923
Tritanopia (blue-blind)
#350211
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310124;
/* rgb */ color: rgb(49, 1, 36);
/* oklch */ color: oklch(21.2% 0.089 341.7);
Tailwind
colors: {
  custom: {
    50: '#6c475e',
    500: '#310124',
    950: '#000000',
  },
}
SCSS
$custom: #310124;
$custom-light: #6c475e;
$custom-dark: #000000;
JSON
{
  "hex": "#310124",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 36
  },
  "hsl": {
    "h": 316.25,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21207,
    "c": 0.08875,
    "h": 341.7
  },
  "luminance": 0.00802
}

Semantic roles & 50–950 ramp

primary
#310124
secondary
#177731
accent
#FF6329
background
#F6F4F5
surface
#ECE6E9
border
#C7C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #310124

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

Preview Lab → · Contrast checker → · Palette generator →

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