#321127#321127

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

Color values

HEX#321127
RGBrgb(50, 17, 39)
HSLhsl(320, 49%, 13%)
HSVhsv(320, 66%, 20%)
CMYKcmyk(0%, 66%, 22%, 80.4%)
CIE-LABlab(10.74, 19.99, -7.15)
CIE-LCHlch(10.74, 21.23, 340.32°)
OKLaboklab(23.87% 0.0594 -0.0191)
OKLCHoklch(23.87% 0.062 342.2)
XYZxyz(1.8821, 1.2256, 2.0565)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321127 #11321C
analogous
#2C1132 #321127 #321116
triadic
#321127 #273211 #112732
tetradic
#321127 #322C11 #11321C #111632
square
#321127 #322C11 #11321C #111632
split-complementary
#321127 #163211 #11322C
monochromatic
#170812 #170812 #321127 #60214B #8D306E

Accessibility & contrast

On white

16.87
#321127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321127
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321127#FFFFFF#000000##FFFFFF
##3211271.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131A28
Deuteranopia (green-blind)
#1C1F26
Tritanopia (blue-blind)
#35111A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #321127;
/* rgb */ color: rgb(50, 17, 39);
/* oklch */ color: oklch(23.9% 0.062 342.2);
Tailwind
colors: {
  custom: {
    50: '#6b5161',
    500: '#321127',
    950: '#000000',
  },
}
SCSS
$custom: #321127;
$custom-light: #6b5161;
$custom-dark: #000000;
JSON
{
  "hex": "#321127",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 320,
    "s": 49.254,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23869,
    "c": 0.06241,
    "h": 342.2
  },
  "luminance": 0.01225
}

Semantic roles & 50–950 ramp

primary
#321127
secondary
#346B46
accent
#D97D4F
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070205
muted
#7A7879

Preview Lab

Preview with #321127

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

Preview Lab → · Contrast checker → · Palette generator →

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