#391228#391228

#391228 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.3% C 0.069 H 348.2°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#391228
RGBrgb(57, 18, 40)
HSLhsl(326, 52%, 15%)
HSVhsv(326, 68%, 22%)
CMYKcmyk(0%, 68.4%, 29.8%, 77.6%)
CIE-LABlab(12.32, 22.25, -5.37)
CIE-LCHlch(12.32, 22.89, 346.43°)
OKLaboklab(25.32% 0.0672 -0.0141)
OKLCHoklch(25.32% 0.069 348.2)
XYZxyz(2.2867, 1.4559, 2.1677)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391228 #123923
analogous
#371239 #391228 #391215
triadic
#391228 #283912 #122839
tetradic
#391228 #393712 #123923 #121539
square
#391228 #393712 #123923 #121539
split-complementary
#391228 #153912 #123937
monochromatic
#170710 #170710 #391228 #682149 #962F69

Accessibility & contrast

On white

16.26
#391228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#391228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391228
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391228#FFFFFF#000000##FFFFFF
##3912281.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161C29
Deuteranopia (green-blind)
#212327
Tritanopia (blue-blind)
#3D111B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #391228;
/* rgb */ color: rgb(57, 18, 40);
/* oklch */ color: oklch(25.3% 0.069 348.2);
Tailwind
colors: {
  custom: {
    50: '#715261',
    500: '#391228',
    950: '#000000',
  },
}
SCSS
$custom: #391228;
$custom-light: #715261;
$custom-dark: #000000;
JSON
{
  "hex": "#391228",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 326.154,
    "s": 52,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25318,
    "c": 0.06866,
    "h": 348.2
  },
  "luminance": 0.01456
}

Semantic roles & 50–950 ramp

primary
#391228
secondary
#357250
accent
#DB8B4C
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080205
muted
#7B7879

Preview Lab

Preview with #391228

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

Preview Lab → · Contrast checker → · Palette generator →

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