#320C28#320C28

#320C28 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.2% C 0.073 H 339.6°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#320C28
RGBrgb(50, 12, 40)
HSLhsl(316, 61%, 12%)
HSVhsv(316, 76%, 20%)
CMYKcmyk(0%, 76%, 20%, 80.4%)
CIE-LABlab(9.75, 23.00, -9.42)
CIE-LCHlch(9.75, 24.85, 337.73°)
OKLaboklab(23.16% 0.0682 -0.0254)
OKLCHoklch(23.16% 0.073 339.6)
XYZxyz(1.8299, 1.0944, 2.1219)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320C28 #0C3216
analogous
#290C32 #320C28 #320C15
triadic
#320C28 #28320C #0C2832
tetradic
#320C28 #32290C #0C3216 #0C1532
square
#320C28 #32290C #0C3216 #0C1532
split-complementary
#320C28 #15320C #0C3229
monochromatic
#190614 #190614 #320C28 #63184F #952477

Accessibility & contrast

On white

17.23
#320C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#320C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320C28
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320C28#FFFFFF#000000##FFFFFF
##320C281.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1729
Deuteranopia (green-blind)
#1A1D27
Tritanopia (blue-blind)
#350D18
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320c28;
/* rgb */ color: rgb(50, 12, 40);
/* oklch */ color: oklch(23.2% 0.073 339.6);
Tailwind
colors: {
  custom: {
    50: '#6c4e62',
    500: '#320c28',
    950: '#000000',
  },
}
SCSS
$custom: #320c28;
$custom-light: #6c4e62;
$custom-dark: #000000;
JSON
{
  "hex": "#320c28",
  "rgb": {
    "r": 50,
    "g": 12,
    "b": 40
  },
  "hsl": {
    "h": 315.789,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23156,
    "c": 0.07272,
    "h": 339.6
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#320C28
secondary
#2C6E3D
accent
#E46E43
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #320C28

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

Preview Lab → · Contrast checker → · Palette generator →

#320C28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva