#381228#381228

#381228 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.1% C 0.068 H 347.2°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#381228
RGBrgb(56, 18, 40)
HSLhsl(325, 51%, 15%)
HSVhsv(325, 68%, 22%)
CMYKcmyk(0%, 67.9%, 28.6%, 78%)
CIE-LABlab(12.13, 21.87, -5.67)
CIE-LCHlch(12.13, 22.60, 345.46°)
OKLaboklab(25.14% 0.0659 -0.0149)
OKLCHoklch(25.14% 0.068 347.2)
XYZxyz(2.2303, 1.4268, 2.1650)
Luminance0.0143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381228 #123822
analogous
#351238 #381228 #381215
triadic
#381228 #283812 #122838
tetradic
#381228 #383512 #123822 #121538
square
#381228 #383512 #123822 #121538
split-complementary
#381228 #153812 #123835
monochromatic
#170711 #170711 #381228 #662149 #95306A

Accessibility & contrast

On white

16.34
#381228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381228
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381228#FFFFFF#000000##FFFFFF
##3812281.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #381228;
/* rgb */ color: rgb(56, 18, 40);
/* oklch */ color: oklch(25.1% 0.068 347.2);
Tailwind
colors: {
  custom: {
    50: '#705261',
    500: '#381228',
    950: '#000000',
  },
}
SCSS
$custom: #381228;
$custom-light: #705261;
$custom-dark: #000000;
JSON
{
  "hex": "#381228",
  "rgb": {
    "r": 56,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 325.263,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25139,
    "c": 0.06759,
    "h": 347.2
  },
  "luminance": 0.01427
}

Semantic roles & 50–950 ramp

primary
#381228
secondary
#35714E
accent
#DB894D
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#080205
muted
#7B7879

Preview Lab

Preview with #381228

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

Preview Lab → · Contrast checker → · Palette generator →

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