#310523#310523

#310523 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.7% C 0.080 H 343.7°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#310523
RGBrgb(49, 5, 35)
HSLhsl(319, 81%, 11%)
HSVhsv(319, 90%, 19%)
CMYKcmyk(0%, 89.8%, 28.6%, 80.8%)
CIE-LABlab(7.98, 25.44, -8.40)
CIE-LCHlch(7.98, 26.79, 341.73°)
OKLaboklab(21.73% 0.0769 -0.0224)
OKLCHoklch(21.73% 0.08 343.7)
XYZxyz(1.6243, 0.8830, 1.6747)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310523 #053113
analogous
#290531 #310523 #31050D
triadic
#310523 #233105 #052331
tetradic
#310523 #312905 #053113 #050D31
square
#310523 #312905 #053113 #050D31
split-complementary
#310523 #0D3105 #053129
monochromatic
#1C0314 #1C0314 #310523 #690B4B #A01072

Accessibility & contrast

On white

17.85
#310523 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310523
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310523#FFFFFF#000000##FFFFFF
##3105231.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091324
Deuteranopia (green-blind)
#171A22
Tritanopia (blue-blind)
#350513
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310523;
/* rgb */ color: rgb(49, 5, 35);
/* oklch */ color: oklch(21.7% 0.080 343.7);
Tailwind
colors: {
  custom: {
    50: '#6b4a5d',
    500: '#310523',
    950: '#000000',
  },
}
SCSS
$custom: #310523;
$custom-light: #6b4a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#310523",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 35
  },
  "hsl": {
    "h": 319.091,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21732,
    "c": 0.08008,
    "h": 343.7
  },
  "luminance": 0.00883
}

Semantic roles & 50–950 ramp

primary
#310523
secondary
#1F723A
accent
#F87030
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310523

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

Preview Lab → · Contrast checker → · Palette generator →

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