#320118#320118

#320118 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.082 H 357.5°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#320118
RGBrgb(50, 1, 24)
HSLhsl(332, 96%, 10%)
HSVhsv(332, 98%, 20%)
CMYKcmyk(0%, 98%, 52%, 80.4%)
CIE-LABlab(6.92, 26.38, -1.42)
CIE-LCHlch(6.92, 26.42, 356.92°)
OKLaboklab(20.8% 0.0821 -0.0036)
OKLCHoklch(20.8% 0.082 357.5)
XYZxyz(1.4912, 0.7660, 0.9333)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320118 #01321B
analogous
#320130 #320118 #320301
triadic
#320118 #183201 #011832
tetradic
#320118 #303201 #01321B #030132
square
#320118 #303201 #01321B #030132
split-complementary
#320118 #013203 #013032
monochromatic
#1E010E #1E010E #320118 #6E0235 #AA0352

Accessibility & contrast

On white

18.21
#320118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#320118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320118
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320118#FFFFFF#000000##FFFFFF
##3201181.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0F19
Deuteranopia (green-blind)
#191917
Tritanopia (blue-blind)
#37000A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #320118;
/* rgb */ color: rgb(50, 1, 24);
/* oklch */ color: oklch(20.8% 0.082 357.5);
Tailwind
colors: {
  custom: {
    50: '#6d4754',
    500: '#320118',
    950: '#000000',
  },
}
SCSS
$custom: #320118;
$custom-light: #6d4754;
$custom-dark: #000000;
JSON
{
  "hex": "#320118",
  "rgb": {
    "r": 50,
    "g": 1,
    "b": 24
  },
  "hsl": {
    "h": 331.837,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.20799,
    "c": 0.08219,
    "h": 357.5
  },
  "luminance": 0.00766
}

Semantic roles & 50–950 ramp

primary
#320118
secondary
#17774A
accent
#FF9A29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #320118

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

Preview Lab → · Contrast checker → · Palette generator →

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