#320828#320828

#320828 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.6% C 0.079 H 339.0°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#320828
RGBrgb(50, 8, 40)
HSLhsl(314, 72%, 11%)
HSVhsv(314, 84%, 20%)
CMYKcmyk(0%, 84%, 20%, 80.4%)
CIE-LABlab(9.03, 25.01, -10.53)
CIE-LCHlch(9.03, 27.13, 337.16°)
OKLaboklab(22.63% 0.0742 -0.0285)
OKLCHoklch(22.63% 0.079 339)
XYZxyz(1.7853, 1.0051, 2.1071)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320828 #083212
analogous
#270832 #320828 #320813
triadic
#320828 #283208 #082832
tetradic
#320828 #322708 #083212 #081332
square
#320828 #322708 #083212 #081332
split-complementary
#320828 #133208 #083227
monochromatic
#1A0415 #1A0415 #320828 #671052 #9C197C

Accessibility & contrast

On white

17.49
#320828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#320828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320828
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320828#FFFFFF#000000##FFFFFF
##3208281.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1529
Deuteranopia (green-blind)
#181C27
Tritanopia (blue-blind)
#350A16
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #320828;
/* rgb */ color: rgb(50, 8, 40);
/* oklch */ color: oklch(22.6% 0.079 339.0);
Tailwind
colors: {
  custom: {
    50: '#6c4c62',
    500: '#320828',
    950: '#000000',
  },
}
SCSS
$custom: #320828;
$custom-light: #6c4c62;
$custom-dark: #000000;
JSON
{
  "hex": "#320828",
  "rgb": {
    "r": 50,
    "g": 8,
    "b": 40
  },
  "hsl": {
    "h": 314.286,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2263,
    "c": 0.07946,
    "h": 339
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#320828
secondary
#257137
accent
#EF6439
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #320828

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

Preview Lab → · Contrast checker → · Palette generator →

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