#320229#320229

#320229 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.9% C 0.091 H 337.2°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#320229
RGBrgb(50, 2, 41)
HSLhsl(311, 92%, 10%)
HSVhsv(311, 96%, 20%)
CMYKcmyk(0%, 96%, 18%, 80.4%)
CIE-LABlab(7.97, 28.41, -12.96)
CIE-LCHlch(7.97, 31.23, 335.49°)
OKLaboklab(21.88% 0.0841 -0.0353)
OKLCHoklch(21.88% 0.091 337.2)
XYZxyz(1.7374, 0.8818, 2.1761)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320229 #02320B
analogous
#230232 #320229 #320211
triadic
#320229 #293202 #022932
tetradic
#320229 #322302 #02320B #021132
square
#320229 #322302 #02320B #021132
split-complementary
#320229 #113202 #023223
monochromatic
#1D0118 #1D0118 #320229 #6D0459 #A8078A

Accessibility & contrast

On white

17.85
#320229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#320229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320229
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320229#FFFFFF#000000##FFFFFF
##3202291.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132A
Deuteranopia (green-blind)
#141A28
Tritanopia (blue-blind)
#350415
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #320229;
/* rgb */ color: rgb(50, 2, 41);
/* oklch */ color: oklch(21.9% 0.091 337.2);
Tailwind
colors: {
  custom: {
    50: '#6c4863',
    500: '#320229',
    950: '#000000',
  },
}
SCSS
$custom: #320229;
$custom-light: #6c4863;
$custom-dark: #000000;
JSON
{
  "hex": "#320229",
  "rgb": {
    "r": 50,
    "g": 2,
    "b": 41
  },
  "hsl": {
    "h": 311.25,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2188,
    "c": 0.09117,
    "h": 337.2
  },
  "luminance": 0.00882
}

Semantic roles & 50–950 ramp

primary
#320229
secondary
#19762B
accent
#FF5129
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #320229

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

Preview Lab → · Contrast checker → · Palette generator →

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