#320128#320128

#320128 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.7% C 0.092 H 338.2°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#320128
RGBrgb(50, 1, 40)
HSLhsl(312, 96%, 10%)
HSVhsv(312, 98%, 20%)
CMYKcmyk(0%, 98%, 20%, 80.4%)
CIE-LABlab(7.71, 28.81, -12.61)
CIE-LCHlch(7.71, 31.45, 336.37°)
OKLaboklab(21.67% 0.0857 -0.0343)
OKLCHoklch(21.67% 0.092 338.2)
XYZxyz(1.7093, 0.8532, 2.0817)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320128 #01320B
analogous
#240132 #320128 #32010F
triadic
#320128 #283201 #012832
tetradic
#320128 #322401 #01320B #010F32
square
#320128 #322401 #01320B #010F32
split-complementary
#320128 #0F3201 #013224
monochromatic
#1E0118 #1E0118 #320128 #6E0258 #AA0388

Accessibility & contrast

On white

17.94
#320128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#320128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320128
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320128#FFFFFF#000000##FFFFFF
##3201281.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031229
Deuteranopia (green-blind)
#141A27
Tritanopia (blue-blind)
#350314
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #320128;
/* rgb */ color: rgb(50, 1, 40);
/* oklch */ color: oklch(21.7% 0.092 338.2);
Tailwind
colors: {
  custom: {
    50: '#6d4862',
    500: '#320128',
    950: '#000000',
  },
}
SCSS
$custom: #320128;
$custom-light: #6d4862;
$custom-dark: #000000;
JSON
{
  "hex": "#320128",
  "rgb": {
    "r": 50,
    "g": 1,
    "b": 40
  },
  "hsl": {
    "h": 312.245,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.21673,
    "c": 0.09235,
    "h": 338.2
  },
  "luminance": 0.00853
}

Semantic roles & 50–950 ramp

primary
#320128
secondary
#17772B
accent
#FF5529
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #320128

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

Preview Lab → · Contrast checker → · Palette generator →

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