#310424#310424

#310424 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.6% C 0.083 H 342.3°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#310424
RGBrgb(49, 4, 36)
HSLhsl(317, 85%, 10%)
HSVhsv(317, 92%, 19%)
CMYKcmyk(0%, 91.8%, 26.5%, 80.8%)
CIE-LABlab(7.83, 26.17, -9.38)
CIE-LCHlch(7.83, 27.80, 340.27°)
OKLaboklab(21.65% 0.0788 -0.0252)
OKLCHoklch(21.65% 0.083 342.3)
XYZxyz(1.6285, 0.8673, 1.7504)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310424 #043111
analogous
#270431 #310424 #31040D
triadic
#310424 #243104 #042431
tetradic
#310424 #312704 #043111 #040D31
square
#310424 #312704 #043111 #040D31
split-complementary
#310424 #0D3104 #043127
monochromatic
#1C0215 #1C0215 #310424 #6A094E #A20D77

Accessibility & contrast

On white

17.90
#310424 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310424
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310424#FFFFFF#000000##FFFFFF
##3104241.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081225
Deuteranopia (green-blind)
#171A23
Tritanopia (blue-blind)
#350413
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310424;
/* rgb */ color: rgb(49, 4, 36);
/* oklch */ color: oklch(21.6% 0.083 342.3);
Tailwind
colors: {
  custom: {
    50: '#6b495e',
    500: '#310424',
    950: '#000000',
  },
}
SCSS
$custom: #310424;
$custom-light: #6b495e;
$custom-dark: #000000;
JSON
{
  "hex": "#310424",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 36
  },
  "hsl": {
    "h": 317.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21647,
    "c": 0.08274,
    "h": 342.3
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#310424
secondary
#1D7336
accent
#FB682D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310424

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

Preview Lab → · Contrast checker → · Palette generator →

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