#320C27#320C27

#320C27 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.1% C 0.072 H 340.9°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#320C27
RGBrgb(50, 12, 39)
HSLhsl(317, 61%, 12%)
HSVhsv(317, 76%, 20%)
CMYKcmyk(0%, 76%, 22%, 80.4%)
CIE-LABlab(9.70, 22.81, -8.75)
CIE-LCHlch(9.70, 24.43, 339.02°)
OKLaboklab(23.1% 0.0679 -0.0235)
OKLCHoklch(23.1% 0.072 340.9)
XYZxyz(1.8131, 1.0877, 2.0335)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320C27 #0C3217
analogous
#2A0C32 #320C27 #320C14
triadic
#320C27 #27320C #0C2732
tetradic
#320C27 #322A0C #0C3217 #0C1432
square
#320C27 #322A0C #0C3217 #0C1432
split-complementary
#320C27 #14320C #0C322A
monochromatic
#190613 #190613 #320C27 #63184D #952474

Accessibility & contrast

On white

17.25
#320C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320C27
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320C27#FFFFFF#000000##FFFFFF
##320C271.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #320c27;
/* rgb */ color: rgb(50, 12, 39);
/* oklch */ color: oklch(23.1% 0.072 340.9);
Tailwind
colors: {
  custom: {
    50: '#6c4e61',
    500: '#320c27',
    950: '#000000',
  },
}
SCSS
$custom: #320c27;
$custom-light: #6c4e61;
$custom-dark: #000000;
JSON
{
  "hex": "#320c27",
  "rgb": {
    "r": 50,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 317.368,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.231,
    "c": 0.07186,
    "h": 340.9
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#320C27
secondary
#2C6E3F
accent
#E47243
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #320C27

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

Preview Lab → · Contrast checker → · Palette generator →

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