#381128#381128

#381128 is a very dark, moderate pink. Relative luminance 0.014; OKLCH L 25.0% C 0.069 H 346.9°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#381128
RGBrgb(56, 17, 40)
HSLhsl(325, 53%, 14%)
HSVhsv(325, 70%, 22%)
CMYKcmyk(0%, 69.6%, 28.6%, 78%)
CIE-LABlab(11.93, 22.44, -5.99)
CIE-LCHlch(11.93, 23.22, 345.05°)
OKLaboklab(24.98% 0.0676 -0.0158)
OKLCHoklch(24.98% 0.069 346.9)
XYZxyz(2.2144, 1.3951, 2.1597)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381128 #113821
analogous
#351138 #381128 #381115
triadic
#381128 #283811 #112838
tetradic
#381128 #383511 #113821 #111538
square
#381128 #383511 #113821 #111538
split-complementary
#381128 #153811 #113835
monochromatic
#170711 #170711 #381128 #671F4A #962E6B

Accessibility & contrast

On white

16.42
#381128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#381128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381128
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381128#FFFFFF#000000##FFFFFF
##3811281.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151B29
Deuteranopia (green-blind)
#202227
Tritanopia (blue-blind)
#3C101A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #381128;
/* rgb */ color: rgb(56, 17, 40);
/* oklch */ color: oklch(25.0% 0.069 346.9);
Tailwind
colors: {
  custom: {
    50: '#705161',
    500: '#381128',
    950: '#000000',
  },
}
SCSS
$custom: #381128;
$custom-light: #705161;
$custom-dark: #000000;
JSON
{
  "hex": "#381128",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 40
  },
  "hsl": {
    "h": 324.615,
    "s": 53.425,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24984,
    "c": 0.06946,
    "h": 346.9
  },
  "luminance": 0.01395
}

Semantic roles & 50–950 ramp

primary
#381128
secondary
#34714D
accent
#DD874B
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#080205
muted
#7B7879

Preview Lab

Preview with #381128

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

Preview Lab → · Contrast checker → · Palette generator →

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