#320412#320412

#320412 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.0% C 0.074 H 7.6°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#320412
RGBrgb(50, 4, 18)
HSLhsl(342, 85%, 11%)
HSVhsv(342, 92%, 20%)
CMYKcmyk(0%, 92%, 64%, 80.4%)
CIE-LABlab(7.31, 24.06, 3.28)
CIE-LCHlch(7.31, 24.29, 7.77°)
OKLaboklab(21.03% 0.0736 0.0099)
OKLCHoklch(21.03% 0.074 7.6)
XYZxyz(1.4681, 0.8088, 0.6510)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320412 #043224
analogous
#320429 #320412 #320D04
triadic
#320412 #123204 #041232
tetradic
#320412 #293204 #043224 #0D0432
square
#320412 #293204 #043224 #0D0432
split-complementary
#320412 #04320D #042932
monochromatic
#1C020A #1C020A #320412 #6B0926 #A30D3B

Accessibility & contrast

On white

18.08
#320412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320412
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320412#FFFFFF#000000##FFFFFF
##3204121.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1012
Deuteranopia (green-blind)
#1C1A11
Tritanopia (blue-blind)
#370009
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #320412;
/* rgb */ color: rgb(50, 4, 18);
/* oklch */ color: oklch(21.0% 0.074 7.6);
Tailwind
colors: {
  custom: {
    50: '#6d494f',
    500: '#320412',
    950: '#000000',
  },
}
SCSS
$custom: #320412;
$custom-light: #6d494f;
$custom-dark: #000000;
JSON
{
  "hex": "#320412",
  "rgb": {
    "r": 50,
    "g": 4,
    "b": 18
  },
  "hsl": {
    "h": 341.739,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21034,
    "c": 0.07428,
    "h": 7.6
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#320412
secondary
#1D745A
accent
#FBBC2C
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #320412

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

Preview Lab → · Contrast checker → · Palette generator →

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