#320227#320227

#320227 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.8% C 0.090 H 339.4°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#320227
RGBrgb(50, 2, 39)
HSLhsl(314, 92%, 10%)
HSVhsv(314, 96%, 20%)
CMYKcmyk(0%, 96%, 22%, 80.4%)
CIE-LABlab(7.84, 28.08, -11.64)
CIE-LCHlch(7.84, 30.39, 337.49°)
OKLaboklab(21.75% 0.0839 -0.0316)
OKLCHoklch(21.75% 0.09 339.4)
XYZxyz(1.7034, 0.8682, 1.9969)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320227 #02320D
analogous
#250232 #320227 #32020F
triadic
#320227 #273202 #022732
tetradic
#320227 #322502 #02320D #020F32
square
#320227 #322502 #02320D #020F32
split-complementary
#320227 #0F3202 #023225
monochromatic
#1D0117 #1D0117 #320227 #6D0455 #A80783

Accessibility & contrast

On white

17.89
#320227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320227
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320227#FFFFFF#000000##FFFFFF
##3202271.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #320227;
/* rgb */ color: rgb(50, 2, 39);
/* oklch */ color: oklch(21.8% 0.090 339.4);
Tailwind
colors: {
  custom: {
    50: '#6c4861',
    500: '#320227',
    950: '#000000',
  },
}
SCSS
$custom: #320227;
$custom-light: #6c4861;
$custom-dark: #000000;
JSON
{
  "hex": "#320227",
  "rgb": {
    "r": 50,
    "g": 2,
    "b": 39
  },
  "hsl": {
    "h": 313.75,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21752,
    "c": 0.08961,
    "h": 339.4
  },
  "luminance": 0.00868
}

Semantic roles & 50–950 ramp

primary
#320227
secondary
#19762F
accent
#FF5A29
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #320227

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

Preview Lab → · Contrast checker → · Palette generator →

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