#320127#320127

#320127 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.6% C 0.092 H 339.3°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#320127
RGBrgb(50, 1, 39)
HSLhsl(313, 96%, 10%)
HSVhsv(313, 98%, 20%)
CMYKcmyk(0%, 98%, 22%, 80.4%)
CIE-LABlab(7.65, 28.64, -11.94)
CIE-LCHlch(7.65, 31.03, 337.37°)
OKLaboklab(21.61% 0.0857 -0.0324)
OKLCHoklch(21.61% 0.092 339.3)
XYZxyz(1.6925, 0.8465, 1.9933)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320127 #01320C
analogous
#240132 #320127 #32010F
triadic
#320127 #273201 #012732
tetradic
#320127 #322401 #01320C #010F32
square
#320127 #322401 #01320C #010F32
split-complementary
#320127 #0F3201 #013224
monochromatic
#1E0117 #1E0117 #320127 #6E0256 #AA0385

Accessibility & contrast

On white

17.96
#320127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#320127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320127
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320127#FFFFFF#000000##FFFFFF
##3201271.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031228
Deuteranopia (green-blind)
#151A26
Tritanopia (blue-blind)
#360313
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #320127;
/* rgb */ color: rgb(50, 1, 39);
/* oklch */ color: oklch(21.6% 0.092 339.3);
Tailwind
colors: {
  custom: {
    50: '#6d4861',
    500: '#320127',
    950: '#000000',
  },
}
SCSS
$custom: #320127;
$custom-light: #6d4861;
$custom-dark: #000000;
JSON
{
  "hex": "#320127",
  "rgb": {
    "r": 50,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 313.469,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.21609,
    "c": 0.09159,
    "h": 339.3
  },
  "luminance": 0.00846
}

Semantic roles & 50–950 ramp

primary
#320127
secondary
#17772D
accent
#FF5929
background
#F6F4F5
surface
#ECE6E9
border
#C7C2C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #320127

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

Preview Lab → · Contrast checker → · Palette generator →

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