#320428#320428

#320428 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.1% C 0.087 H 338.5°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#320428
RGBrgb(50, 4, 40)
HSLhsl(313, 85%, 11%)
HSVhsv(313, 92%, 20%)
CMYKcmyk(0%, 92%, 20%, 80.4%)
CIE-LABlab(8.29, 27.12, -11.69)
CIE-LCHlch(8.29, 29.53, 336.68°)
OKLaboklab(22.09% 0.0806 -0.0317)
OKLCHoklch(22.09% 0.087 338.5)
XYZxyz(1.7419, 0.9183, 2.0926)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320428 #04320E
analogous
#250432 #320428 #320411
triadic
#320428 #283204 #042832
tetradic
#320428 #322504 #04320E #041132
square
#320428 #322504 #04320E #041132
split-complementary
#320428 #113204 #043225
monochromatic
#1C0217 #1C0217 #320428 #6B0955 #A30D83

Accessibility & contrast

On white

17.74
#320428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#320428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320428
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320428#FFFFFF#000000##FFFFFF
##3204281.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061329
Deuteranopia (green-blind)
#161B27
Tritanopia (blue-blind)
#350615
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #320428;
/* rgb */ color: rgb(50, 4, 40);
/* oklch */ color: oklch(22.1% 0.087 338.5);
Tailwind
colors: {
  custom: {
    50: '#6c4962',
    500: '#320428',
    950: '#000000',
  },
}
SCSS
$custom: #320428;
$custom-light: #6c4962;
$custom-dark: #000000;
JSON
{
  "hex": "#320428",
  "rgb": {
    "r": 50,
    "g": 4,
    "b": 40
  },
  "hsl": {
    "h": 313.043,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22094,
    "c": 0.08658,
    "h": 338.5
  },
  "luminance": 0.00918
}

Semantic roles & 50–950 ramp

primary
#320428
secondary
#1D7430
accent
#FB592C
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #320428

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

Preview Lab → · Contrast checker → · Palette generator →

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