#320312#320312

#320312 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.9% C 0.076 H 6.9°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#320312
RGBrgb(50, 3, 18)
HSLhsl(341, 89%, 10%)
HSVhsv(341, 94%, 20%)
CMYKcmyk(0%, 94%, 64%, 80.4%)
CIE-LABlab(7.11, 24.60, 3.00)
CIE-LCHlch(7.11, 24.79, 6.95°)
OKLaboklab(20.88% 0.0756 0.0091)
OKLCHoklch(20.88% 0.076 6.9)
XYZxyz(1.4573, 0.7871, 0.6473)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320312 #033223
analogous
#320329 #320312 #320B03
triadic
#320312 #123203 #031232
tetradic
#320312 #293203 #033223 #0B0332
square
#320312 #293203 #033223 #0B0332
split-complementary
#320312 #03320B #032932
monochromatic
#1D020A #1D020A #320312 #6C0627 #A50A3C

Accessibility & contrast

On white

18.14
#320312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#320312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320312
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320312#FFFFFF#000000##FFFFFF
##3203121.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0F12
Deuteranopia (green-blind)
#1B1911
Tritanopia (blue-blind)
#380009
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #320312;
/* rgb */ color: rgb(50, 3, 18);
/* oklch */ color: oklch(20.9% 0.076 6.9);
Tailwind
colors: {
  custom: {
    50: '#6e484f',
    500: '#320312',
    950: '#000000',
  },
}
SCSS
$custom: #320312;
$custom-light: #6e484f;
$custom-dark: #000000;
JSON
{
  "hex": "#320312",
  "rgb": {
    "r": 50,
    "g": 3,
    "b": 18
  },
  "hsl": {
    "h": 340.851,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2088,
    "c": 0.07611,
    "h": 6.9
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#320312
secondary
#1B7559
accent
#FFBB29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #320312

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

Preview Lab → · Contrast checker → · Palette generator →

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