#310426#310426

#310426 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.8% C 0.084 H 339.9°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#310426
RGBrgb(49, 4, 38)
HSLhsl(315, 85%, 10%)
HSVhsv(315, 92%, 19%)
CMYKcmyk(0%, 91.8%, 22.4%, 80.8%)
CIE-LABlab(7.95, 26.50, -10.73)
CIE-LCHlch(7.95, 28.59, 337.96°)
OKLaboklab(21.77% 0.0791 -0.029)
OKLCHoklch(21.77% 0.084 339.9)
XYZxyz(1.6599, 0.8799, 1.9158)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310426 #04310F
analogous
#250431 #310426 #31040F
triadic
#310426 #263104 #042631
tetradic
#310426 #312504 #04310F #040F31
square
#310426 #312504 #04310F #040F31
split-complementary
#310426 #0F3104 #043125
monochromatic
#1C0216 #1C0216 #310426 #6A0952 #A20D7E

Accessibility & contrast

On white

17.86
#310426 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#310426 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310426
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310426#FFFFFF#000000##FFFFFF
##3104261.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071327
Deuteranopia (green-blind)
#161A25
Tritanopia (blue-blind)
#350514
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310426;
/* rgb */ color: rgb(49, 4, 38);
/* oklch */ color: oklch(21.8% 0.084 339.9);
Tailwind
colors: {
  custom: {
    50: '#6b4960',
    500: '#310426',
    950: '#000000',
  },
}
SCSS
$custom: #310426;
$custom-light: #6b4960;
$custom-dark: #000000;
JSON
{
  "hex": "#310426",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 38
  },
  "hsl": {
    "h": 314.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21767,
    "c": 0.08429,
    "h": 339.9
  },
  "luminance": 0.0088
}

Semantic roles & 50–950 ramp

primary
#310426
secondary
#1D7332
accent
#FB5F2D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #310426

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

Preview Lab → · Contrast checker → · Palette generator →

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