#380418#380418

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

Color values

HEX#380418
RGBrgb(56, 4, 24)
HSLhsl(337, 87%, 12%)
HSVhsv(337, 93%, 22%)
CMYKcmyk(0%, 92.9%, 57.1%, 78%)
CIE-LABlab(8.94, 26.74, 1.70)
CIE-LCHlch(8.94, 26.79, 3.63°)
OKLaboklab(22.57% 0.082 0.0046)
OKLCHoklch(22.57% 0.082 3.2)
XYZxyz(1.8393, 0.9938, 0.9589)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380418 #043824
analogous
#380432 #380418 #380A04
triadic
#380418 #183804 #041838
tetradic
#380418 #323804 #043824 #0A0438
square
#380418 #323804 #043824 #0A0438
split-complementary
#380418 #04380A #043238
monochromatic
#1D020C #1D020C #380418 #710830 #AA0C49

Accessibility & contrast

On white

17.52
#380418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380418
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380418#FFFFFF#000000##FFFFFF
##3804181.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #380418;
/* rgb */ color: rgb(56, 4, 24);
/* oklch */ color: oklch(22.6% 0.082 3.2);
Tailwind
colors: {
  custom: {
    50: '#724a54',
    500: '#380418',
    950: '#000000',
  },
}
SCSS
$custom: #380418;
$custom-light: #724a54;
$custom-dark: #000000;
JSON
{
  "hex": "#380418",
  "rgb": {
    "r": 56,
    "g": 4,
    "b": 24
  },
  "hsl": {
    "h": 336.923,
    "s": 86.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22573,
    "c": 0.08217,
    "h": 3.2
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#380418
secondary
#1E7A57
accent
#FDAC2B
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #380418

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

Preview Lab → · Contrast checker → · Palette generator →

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