#310528#310528

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

Color values

HEX#310528
RGBrgb(49, 5, 40)
HSLhsl(312, 81%, 11%)
HSVhsv(312, 90%, 19%)
CMYKcmyk(0%, 89.8%, 18.4%, 80.8%)
CIE-LABlab(8.26, 26.28, -11.75)
CIE-LCHlch(8.26, 28.79, 335.91°)
OKLaboklab(22.03% 0.0777 -0.0319)
OKLCHoklch(22.03% 0.084 337.7)
XYZxyz(1.7039, 0.9149, 2.0939)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310528 #05310E
analogous
#240531 #310528 #310512
triadic
#310528 #283105 #052831
tetradic
#310528 #312405 #05310E #051231
square
#310528 #312405 #05310E #051231
split-complementary
#310528 #123105 #053124
monochromatic
#1C0317 #1C0317 #310528 #690B55 #A01083

Accessibility & contrast

On white

17.75
#310528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310528
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310528#FFFFFF#000000##FFFFFF
##3105281.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061429
Deuteranopia (green-blind)
#151A27
Tritanopia (blue-blind)
#340715
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310528;
/* rgb */ color: rgb(49, 5, 40);
/* oklch */ color: oklch(22.0% 0.084 337.7);
Tailwind
colors: {
  custom: {
    50: '#6b4a62',
    500: '#310528',
    950: '#000000',
  },
}
SCSS
$custom: #310528;
$custom-light: #6b4a62;
$custom-dark: #000000;
JSON
{
  "hex": "#310528",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 40
  },
  "hsl": {
    "h": 312.273,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22031,
    "c": 0.08404,
    "h": 337.7
  },
  "luminance": 0.00915
}

Semantic roles & 50–950 ramp

primary
#310528
secondary
#1F7230
accent
#F85930
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #310528

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

Preview Lab → · Contrast checker → · Palette generator →

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