#310527#310527

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

Color values

HEX#310527
RGBrgb(49, 5, 39)
HSLhsl(314, 81%, 11%)
HSVhsv(314, 90%, 19%)
CMYKcmyk(0%, 89.8%, 20.4%, 80.8%)
CIE-LABlab(8.20, 26.11, -11.09)
CIE-LCHlch(8.20, 28.37, 336.99°)
OKLaboklab(21.97% 0.0776 -0.0301)
OKLCHoklch(21.97% 0.083 338.8)
XYZxyz(1.6871, 0.9082, 2.0055)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310527 #05310F
analogous
#250531 #310527 #310511
triadic
#310527 #273105 #052731
tetradic
#310527 #312505 #05310F #051131
square
#310527 #312505 #05310F #051131
split-complementary
#310527 #113105 #053125
monochromatic
#1C0316 #1C0316 #310527 #690B53 #A0107F

Accessibility & contrast

On white

17.77
#310527 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310527
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310527#FFFFFF#000000##FFFFFF
##3105271.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071328
Deuteranopia (green-blind)
#161A26
Tritanopia (blue-blind)
#340715
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310527;
/* rgb */ color: rgb(49, 5, 39);
/* oklch */ color: oklch(22.0% 0.083 338.8);
Tailwind
colors: {
  custom: {
    50: '#6b4a61',
    500: '#310527',
    950: '#000000',
  },
}
SCSS
$custom: #310527;
$custom-light: #6b4a61;
$custom-dark: #000000;
JSON
{
  "hex": "#310527",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 39
  },
  "hsl": {
    "h": 313.636,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21969,
    "c": 0.08322,
    "h": 338.8
  },
  "luminance": 0.00908
}

Semantic roles & 50–950 ramp

primary
#310527
secondary
#1F7232
accent
#F85D30
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #310527

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

Preview Lab → · Contrast checker → · Palette generator →

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