#321126#321126

#321126 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.8% C 0.062 H 343.8°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#321126
RGBrgb(50, 17, 38)
HSLhsl(322, 49%, 13%)
HSVhsv(322, 66%, 20%)
CMYKcmyk(0%, 66%, 24%, 80.4%)
CIE-LABlab(10.70, 19.80, -6.48)
CIE-LCHlch(10.70, 20.83, 341.88°)
OKLaboklab(23.82% 0.0591 -0.0172)
OKLCHoklch(23.82% 0.062 343.8)
XYZxyz(1.8657, 1.2191, 1.9704)
Luminance0.0122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321126 #11321D
analogous
#2D1132 #321126 #321115
triadic
#321126 #263211 #112632
tetradic
#321126 #322D11 #11321D #111532
square
#321126 #322D11 #11321D #111532
split-complementary
#321126 #153211 #11322D
monochromatic
#170811 #170811 #321126 #602149 #8D306B

Accessibility & contrast

On white

16.88
#321126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#321126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321126
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321126#FFFFFF#000000##FFFFFF
##3211261.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141927
Deuteranopia (green-blind)
#1D1F25
Tritanopia (blue-blind)
#351119
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #321126;
/* rgb */ color: rgb(50, 17, 38);
/* oklch */ color: oklch(23.8% 0.062 343.8);
Tailwind
colors: {
  custom: {
    50: '#6b5160',
    500: '#321126',
    950: '#000000',
  },
}
SCSS
$custom: #321126;
$custom-light: #6b5160;
$custom-dark: #000000;
JSON
{
  "hex": "#321126",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 321.818,
    "s": 49.254,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23818,
    "c": 0.06156,
    "h": 343.8
  },
  "luminance": 0.01219
}

Semantic roles & 50–950 ramp

primary
#321126
secondary
#346B48
accent
#D9814F
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #321126

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

Preview Lab → · Contrast checker → · Palette generator →

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