#310329#310329

#310329 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.8% C 0.089 H 336.4°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#310329
RGBrgb(49, 3, 41)
HSLhsl(310, 88%, 10%)
HSVhsv(310, 94%, 19%)
CMYKcmyk(0%, 93.9%, 16.3%, 80.8%)
CIE-LABlab(7.93, 27.58, -13.02)
CIE-LCHlch(7.93, 30.50, 334.73°)
OKLaboklab(21.82% 0.0812 -0.0355)
OKLCHoklch(21.82% 0.089 336.4)
XYZxyz(1.6995, 0.8784, 2.1774)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310329 #03310B
analogous
#220331 #310329 #310312
triadic
#310329 #293103 #032931
tetradic
#310329 #312203 #03310B #031231
square
#310329 #312203 #03310B #031231
split-complementary
#310329 #123103 #033122
monochromatic
#1D0218 #1D0218 #310329 #6B0759 #A40A8A

Accessibility & contrast

On white

17.86
#310329 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310329
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310329#FFFFFF#000000##FFFFFF
##3103291.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04132A
Deuteranopia (green-blind)
#141A28
Tritanopia (blue-blind)
#340615
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #310329;
/* rgb */ color: rgb(49, 3, 41);
/* oklch */ color: oklch(21.8% 0.089 336.4);
Tailwind
colors: {
  custom: {
    50: '#6b4963',
    500: '#310329',
    950: '#000000',
  },
}
SCSS
$custom: #310329;
$custom-light: #6b4963;
$custom-dark: #000000;
JSON
{
  "hex": "#310329",
  "rgb": {
    "r": 49,
    "g": 3,
    "b": 41
  },
  "hsl": {
    "h": 310.435,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21816,
    "c": 0.08863,
    "h": 336.4
  },
  "luminance": 0.00878
}

Semantic roles & 50–950 ramp

primary
#310329
secondary
#1B742B
accent
#FF4E29
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #310329

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

Preview Lab → · Contrast checker → · Palette generator →

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