#380417#380417

#380417 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.082 H 4.5°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#380417
RGBrgb(56, 4, 23)
HSLhsl(338, 87%, 12%)
HSVhsv(338, 93%, 22%)
CMYKcmyk(0%, 92.9%, 58.9%, 78%)
CIE-LABlab(8.91, 26.64, 2.41)
CIE-LCHlch(8.91, 26.75, 5.16°)
OKLaboklab(22.54% 0.0816 0.0064)
OKLCHoklch(22.54% 0.082 4.5)
XYZxyz(1.8291, 0.9897, 0.9052)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380417 #043825
analogous
#380431 #380417 #380B04
triadic
#380417 #173804 #041738
tetradic
#380417 #313804 #043825 #0B0438
square
#380417 #313804 #043825 #0B0438
split-complementary
#380417 #04380B #043138
monochromatic
#1D020C #1D020C #380417 #71082E #AA0C46

Accessibility & contrast

On white

17.53
#380417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#380417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380417
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380417#FFFFFF#000000##FFFFFF
##3804171.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111317
Deuteranopia (green-blind)
#1F1D16
Tritanopia (blue-blind)
#3E000C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #380417;
/* rgb */ color: rgb(56, 4, 23);
/* oklch */ color: oklch(22.5% 0.082 4.5);
Tailwind
colors: {
  custom: {
    50: '#724a53',
    500: '#380417',
    950: '#000000',
  },
}
SCSS
$custom: #380417;
$custom-light: #724a53;
$custom-dark: #000000;
JSON
{
  "hex": "#380417",
  "rgb": {
    "r": 56,
    "g": 4,
    "b": 23
  },
  "hsl": {
    "h": 338.077,
    "s": 86.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22537,
    "c": 0.08185,
    "h": 4.5
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#380417
secondary
#1E7A58
accent
#FDB02B
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #380417

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

Preview Lab → · Contrast checker → · Palette generator →

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