#310520#310520

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

Color values

HEX#310520
RGBrgb(49, 5, 32)
HSLhsl(323, 81%, 11%)
HSVhsv(323, 90%, 19%)
CMYKcmyk(0%, 89.8%, 34.7%, 80.8%)
CIE-LABlab(7.82, 24.97, -6.33)
CIE-LCHlch(7.82, 25.76, 345.77°)
OKLaboklab(21.57% 0.0761 -0.0167)
OKLCHoklch(21.57% 0.078 347.6)
XYZxyz(1.5817, 0.8660, 1.4501)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310520 #053116
analogous
#2C0531 #310520 #31050A
triadic
#310520 #203105 #052031
tetradic
#310520 #312C05 #053116 #050A31
square
#310520 #312C05 #053116 #050A31
split-complementary
#310520 #0A3105 #05312C
monochromatic
#1C0312 #1C0312 #310520 #690B44 #A01069

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##310520#FFFFFF#000000##FFFFFF
##3105201.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)
#0B1221
Deuteranopia (green-blind)
#181A1F
Tritanopia (blue-blind)
#350411
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310520;
/* rgb */ color: rgb(49, 5, 32);
/* oklch */ color: oklch(21.6% 0.078 347.6);
Tailwind
colors: {
  custom: {
    50: '#6c495b',
    500: '#310520',
    950: '#000000',
  },
}
SCSS
$custom: #310520;
$custom-light: #6c495b;
$custom-dark: #000000;
JSON
{
  "hex": "#310520",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 32
  },
  "hsl": {
    "h": 323.182,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21569,
    "c": 0.07794,
    "h": 347.6
  },
  "luminance": 0.00866
}

Semantic roles & 50–950 ramp

primary
#310520
secondary
#1F723F
accent
#F87D30
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310520

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

Preview Lab → · Contrast checker → · Palette generator →

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