#310A2A#310A2A

#310A2A is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.8% C 0.077 H 335.7°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#310A2A
RGBrgb(49, 10, 42)
HSLhsl(311, 66%, 12%)
HSVhsv(311, 80%, 19%)
CMYKcmyk(0%, 79.6%, 14.3%, 80.8%)
CIE-LABlab(9.30, 24.06, -11.63)
CIE-LCHlch(9.30, 26.72, 334.19°)
OKLaboklab(22.82% 0.0703 -0.0317)
OKLCHoklch(22.82% 0.077 335.7)
XYZxyz(1.7931, 1.0374, 2.2958)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A2A #0A3111
analogous
#250A31 #310A2A #310A17
triadic
#310A2A #2A310A #0A2A31
tetradic
#310A2A #31250A #0A3111 #0A1731
square
#310A2A #31250A #0A3111 #0A1731
split-complementary
#310A2A #17310A #0A3125
monochromatic
#190516 #190516 #310A2A #641456 #971F81

Accessibility & contrast

On white

17.39
#310A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#310A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310A2A
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A2A#FFFFFF#000000##FFFFFF
##310A2A1.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A162B
Deuteranopia (green-blind)
#171C29
Tritanopia (blue-blind)
#340C18
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310a2a;
/* rgb */ color: rgb(49, 10, 42);
/* oklch */ color: oklch(22.8% 0.077 335.7);
Tailwind
colors: {
  custom: {
    50: '#6b4d63',
    500: '#310a2a',
    950: '#000000',
  },
}
SCSS
$custom: #310a2a;
$custom-light: #6b4d63;
$custom-dark: #000000;
JSON
{
  "hex": "#310a2a",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 42
  },
  "hsl": {
    "h": 310.769,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2282,
    "c": 0.07709,
    "h": 335.7
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#310A2A
secondary
#296E35
accent
#E95D3F
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #310A2A

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

Preview Lab → · Contrast checker → · Palette generator →

#310A2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva