#320126#320126

#320126 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.5% C 0.091 H 340.4°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#320126
RGBrgb(50, 1, 38)
HSLhsl(315, 96%, 10%)
HSVhsv(315, 98%, 20%)
CMYKcmyk(0%, 98%, 24%, 80.4%)
CIE-LABlab(7.59, 28.48, -11.27)
CIE-LCHlch(7.59, 30.63, 338.40°)
OKLaboklab(21.55% 0.0856 -0.0305)
OKLCHoklch(21.55% 0.091 340.4)
XYZxyz(1.6762, 0.8399, 1.9072)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320126 #01320D
analogous
#260132 #320126 #32010D
triadic
#320126 #263201 #012632
tetradic
#320126 #322601 #01320D #010D32
square
#320126 #322601 #01320D #010D32
split-complementary
#320126 #0D3201 #013226
monochromatic
#1E0117 #1E0117 #320126 #6E0254 #AA0381

Accessibility & contrast

On white

17.98
#320126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320126
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320126#FFFFFF#000000##FFFFFF
##3201261.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041127
Deuteranopia (green-blind)
#151A25
Tritanopia (blue-blind)
#360212
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #320126;
/* rgb */ color: rgb(50, 1, 38);
/* oklch */ color: oklch(21.5% 0.091 340.4);
Tailwind
colors: {
  custom: {
    50: '#6d4860',
    500: '#320126',
    950: '#000000',
  },
}
SCSS
$custom: #320126;
$custom-light: #6d4860;
$custom-dark: #000000;
JSON
{
  "hex": "#320126",
  "rgb": {
    "r": 50,
    "g": 1,
    "b": 38
  },
  "hsl": {
    "h": 314.694,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.21545,
    "c": 0.09084,
    "h": 340.4
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#320126
secondary
#17772F
accent
#FF5D29
background
#F6F4F5
surface
#ECE6E9
border
#C7C2C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #320126

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

Preview Lab → · Contrast checker → · Palette generator →

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