#320122#320122

#320122 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.3% C 0.088 H 344.9°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#320122
RGBrgb(50, 1, 34)
HSLhsl(320, 96%, 10%)
HSVhsv(320, 98%, 20%)
CMYKcmyk(0%, 98%, 32%, 80.4%)
CIE-LABlab(7.37, 27.83, -8.55)
CIE-LCHlch(7.37, 29.11, 342.92°)
OKLaboklab(21.31% 0.085 -0.0229)
OKLCHoklch(21.31% 0.088 344.9)
XYZxyz(1.6151, 0.8155, 1.5854)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320122 #013211
analogous
#2A0132 #320122 #320109
triadic
#320122 #223201 #012232
tetradic
#320122 #322A01 #013211 #010932
square
#320122 #322A01 #013211 #010932
split-complementary
#320122 #093201 #01322A
monochromatic
#1E0114 #1E0114 #320122 #6E024B #AA0374

Accessibility & contrast

On white

18.06
#320122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320122
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320122#FFFFFF#000000##FFFFFF
##3201221.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061123
Deuteranopia (green-blind)
#171921
Tritanopia (blue-blind)
#360010
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #320122;
/* rgb */ color: rgb(50, 1, 34);
/* oklch */ color: oklch(21.3% 0.088 344.9);
Tailwind
colors: {
  custom: {
    50: '#6d475d',
    500: '#320122',
    950: '#000000',
  },
}
SCSS
$custom: #320122;
$custom-light: #6d475d;
$custom-dark: #000000;
JSON
{
  "hex": "#320122",
  "rgb": {
    "r": 50,
    "g": 1,
    "b": 34
  },
  "hsl": {
    "h": 319.592,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.21305,
    "c": 0.08799,
    "h": 344.9
  },
  "luminance": 0.00815
}

Semantic roles & 50–950 ramp

primary
#320122
secondary
#177737
accent
#FF6F29
background
#F6F4F5
surface
#ECE6E9
border
#C7C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #320122

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

Preview Lab → · Contrast checker → · Palette generator →

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