#320212#320212

#320212 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.7% C 0.078 H 6.2°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#320212
RGBrgb(50, 2, 18)
HSLhsl(340, 92%, 10%)
HSVhsv(340, 96%, 20%)
CMYKcmyk(0%, 96%, 64%, 80.4%)
CIE-LABlab(6.91, 25.14, 2.71)
CIE-LCHlch(6.91, 25.28, 6.16°)
OKLaboklab(20.72% 0.0775 0.0084)
OKLCHoklch(20.72% 0.078 6.2)
XYZxyz(1.4464, 0.7654, 0.6437)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320212 #023222
analogous
#32022A #320212 #320A02
triadic
#320212 #123202 #021232
tetradic
#320212 #2A3202 #023222 #0A0232
square
#320212 #2A3202 #023222 #0A0232
split-complementary
#320212 #02320A #022A32
monochromatic
#1D010B #1D010B #320212 #6D0427 #A8073C

Accessibility & contrast

On white

18.21
#320212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#320212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320212
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320212#FFFFFF#000000##FFFFFF
##3202121.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #320212;
/* rgb */ color: rgb(50, 2, 18);
/* oklch */ color: oklch(20.7% 0.078 6.2);
Tailwind
colors: {
  custom: {
    50: '#6e474f',
    500: '#320212',
    950: '#000000',
  },
}
SCSS
$custom: #320212;
$custom-light: #6e474f;
$custom-dark: #000000;
JSON
{
  "hex": "#320212",
  "rgb": {
    "r": 50,
    "g": 2,
    "b": 18
  },
  "hsl": {
    "h": 340,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20723,
    "c": 0.078,
    "h": 6.2
  },
  "luminance": 0.00765
}

Semantic roles & 50–950 ramp

primary
#320212
secondary
#197657
accent
#FFB829
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#080002
muted
#7B7778

Preview Lab

Preview with #320212

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

Preview Lab → · Contrast checker → · Palette generator →

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