#310529#310529

#310529 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.1% C 0.085 H 336.5°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#310529
RGBrgb(49, 5, 41)
HSLhsl(311, 81%, 11%)
HSVhsv(311, 90%, 19%)
CMYKcmyk(0%, 89.8%, 16.3%, 80.8%)
CIE-LABlab(8.32, 26.46, -12.41)
CIE-LCHlch(8.32, 29.23, 334.87°)
OKLaboklab(22.09% 0.0778 -0.0338)
OKLCHoklch(22.09% 0.085 336.5)
XYZxyz(1.7212, 0.9218, 2.1847)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310529 #05310D
analogous
#230531 #310529 #310513
triadic
#310529 #293105 #052931
tetradic
#310529 #312305 #05310D #051331
square
#310529 #312305 #05310D #051331
split-complementary
#310529 #133105 #053123
monochromatic
#1C0317 #1C0317 #310529 #690B57 #A01086

Accessibility & contrast

On white

17.73
#310529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310529
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310529#FFFFFF#000000##FFFFFF
##3105291.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06142A
Deuteranopia (green-blind)
#151B28
Tritanopia (blue-blind)
#340816
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310529;
/* rgb */ color: rgb(49, 5, 41);
/* oklch */ color: oklch(22.1% 0.085 336.5);
Tailwind
colors: {
  custom: {
    50: '#6b4a62',
    500: '#310529',
    950: '#000000',
  },
}
SCSS
$custom: #310529;
$custom-light: #6b4a62;
$custom-dark: #000000;
JSON
{
  "hex": "#310529",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 41
  },
  "hsl": {
    "h": 310.909,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22094,
    "c": 0.08487,
    "h": 336.5
  },
  "luminance": 0.00922
}

Semantic roles & 50–950 ramp

primary
#310529
secondary
#1F722E
accent
#F85430
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #310529

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

Preview Lab → · Contrast checker → · Palette generator →

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