#320218#320218

#320218 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.0% C 0.080 H 358.0°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#320218
RGBrgb(50, 2, 24)
HSLhsl(333, 92%, 10%)
HSVhsv(333, 96%, 20%)
CMYKcmyk(0%, 96%, 52%, 80.4%)
CIE-LABlab(7.12, 25.84, -1.13)
CIE-LCHlch(7.12, 25.87, 357.49°)
OKLaboklab(20.96% 0.0801 -0.0028)
OKLCHoklch(20.96% 0.08 358)
XYZxyz(1.5021, 0.7877, 0.9369)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320218 #02321C
analogous
#320230 #320218 #320402
triadic
#320218 #183202 #021832
tetradic
#320218 #303202 #02321C #040232
square
#320218 #303202 #02321C #040232
split-complementary
#320218 #023204 #023032
monochromatic
#1D010E #1D010E #320218 #6D0434 #A80750

Accessibility & contrast

On white

18.14
#320218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#320218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320218
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320218#FFFFFF#000000##FFFFFF
##3202181.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1019
Deuteranopia (green-blind)
#1A1917
Tritanopia (blue-blind)
#37000B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #320218;
/* rgb */ color: rgb(50, 2, 24);
/* oklch */ color: oklch(21.0% 0.080 358.0);
Tailwind
colors: {
  custom: {
    50: '#6d4854',
    500: '#320218',
    950: '#000000',
  },
}
SCSS
$custom: #320218;
$custom-light: #6d4854;
$custom-dark: #000000;
JSON
{
  "hex": "#320218",
  "rgb": {
    "r": 50,
    "g": 2,
    "b": 24
  },
  "hsl": {
    "h": 332.5,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20955,
    "c": 0.08016,
    "h": 358
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#320218
secondary
#19764C
accent
#FF9D29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #320218

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

Preview Lab → · Contrast checker → · Palette generator →

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