#321128#321128

#321128 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.9% C 0.063 H 340.7°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#321128
RGBrgb(50, 17, 40)
HSLhsl(318, 49%, 13%)
HSVhsv(318, 66%, 20%)
CMYKcmyk(0%, 66%, 20%, 80.4%)
CIE-LABlab(10.79, 20.18, -7.82)
CIE-LCHlch(10.79, 21.64, 338.82°)
OKLaboklab(23.92% 0.0597 -0.0209)
OKLCHoklch(23.92% 0.063 340.7)
XYZxyz(1.8989, 1.2324, 2.1449)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321128 #11321B
analogous
#2B1132 #321128 #321117
triadic
#321128 #283211 #112832
tetradic
#321128 #322B11 #11321B #111732
square
#321128 #322B11 #11321B #111732
split-complementary
#321128 #173211 #11322B
monochromatic
#170812 #170812 #321128 #60214D #8D3071

Accessibility & contrast

On white

16.85
#321128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#321128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321128
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321128#FFFFFF#000000##FFFFFF
##3211281.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131A29
Deuteranopia (green-blind)
#1C1F27
Tritanopia (blue-blind)
#35121A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #321128;
/* rgb */ color: rgb(50, 17, 40);
/* oklch */ color: oklch(23.9% 0.063 340.7);
Tailwind
colors: {
  custom: {
    50: '#6b5161',
    500: '#321128',
    950: '#000000',
  },
}
SCSS
$custom: #321128;
$custom-light: #6b5161;
$custom-dark: #000000;
JSON
{
  "hex": "#321128",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 40
  },
  "hsl": {
    "h": 318.182,
    "s": 49.254,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23921,
    "c": 0.06329,
    "h": 340.7
  },
  "luminance": 0.01232
}

Semantic roles & 50–950 ramp

primary
#321128
secondary
#346B45
accent
#D9794F
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070205
muted
#7A7879

Preview Lab

Preview with #321128

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

Preview Lab → · Contrast checker → · Palette generator →

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