#320C1A#320C1A

#320C1A is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.063 H 0.8°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#320C1A
RGBrgb(50, 12, 26)
HSLhsl(338, 61%, 12%)
HSVhsv(338, 76%, 20%)
CMYKcmyk(0%, 76%, 48%, 80.4%)
CIE-LABlab(9.12, 20.74, 0.25)
CIE-LCHlch(9.12, 20.74, 0.69°)
OKLaboklab(22.48% 0.0634 0.0009)
OKLCHoklch(22.48% 0.063 0.8)
XYZxyz(1.6334, 1.0158, 1.0871)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320C1A #0C3224
analogous
#320C2D #320C1A #32110C
triadic
#320C1A #1A320C #0C1A32
tetradic
#320C1A #2D320C #0C3224 #110C32
square
#320C1A #2D320C #0C3224 #110C32
split-complementary
#320C1A #0C3211 #0C2D32
monochromatic
#19060D #19060D #320C1A #631834 #95244D

Accessibility & contrast

On white

17.45
#320C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#320C1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320C1A
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320C1A#FFFFFF#000000##FFFFFF
##320C1A1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13151A
Deuteranopia (green-blind)
#1D1C19
Tritanopia (blue-blind)
#370812
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #320c1a;
/* rgb */ color: rgb(50, 12, 26);
/* oklch */ color: oklch(22.5% 0.063 0.8);
Tailwind
colors: {
  custom: {
    50: '#6c4d56',
    500: '#320c1a',
    950: '#000000',
  },
}
SCSS
$custom: #320c1a;
$custom-light: #6c4d56;
$custom-dark: #000000;
JSON
{
  "hex": "#320c1a",
  "rgb": {
    "r": 50,
    "g": 12,
    "b": 26
  },
  "hsl": {
    "h": 337.895,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22482,
    "c": 0.0634,
    "h": 0.8
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#320C1A
secondary
#2C6E56
accent
#E4A943
background
#F6F4F5
surface
#ECE7E8
border
#C7C3C4
text
#070103
muted
#7A7778

Preview Lab

Preview with #320C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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