#380312#380312

#380312 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.2% C 0.082 H 10.2°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#380312
RGBrgb(56, 3, 18)
HSLhsl(343, 90%, 12%)
HSVhsv(343, 95%, 22%)
CMYKcmyk(0%, 94.6%, 67.9%, 78%)
CIE-LABlab(8.57, 26.71, 5.30)
CIE-LCHlch(8.57, 27.23, 11.22°)
OKLaboklab(22.24% 0.081 0.0146)
OKLCHoklch(22.24% 0.082 10.2)
XYZxyz(1.7728, 0.9498, 0.6621)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380312 #033829
analogous
#38032D #380312 #380F03
triadic
#380312 #123803 #031238
tetradic
#380312 #2D3803 #033829 #0F0338
square
#380312 #2D3803 #033829 #0F0338
split-complementary
#380312 #03380F #032D38
monochromatic
#1D0209 #1D0209 #380312 #720625 #AC0937

Accessibility & contrast

On white

17.65
#380312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#380312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380312
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380312#FFFFFF#000000##FFFFFF
##3803121.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111212
Deuteranopia (green-blind)
#1F1D11
Tritanopia (blue-blind)
#3E0009
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #380312;
/* rgb */ color: rgb(56, 3, 18);
/* oklch */ color: oklch(22.2% 0.082 10.2);
Tailwind
colors: {
  custom: {
    50: '#73494f',
    500: '#380312',
    950: '#000000',
  },
}
SCSS
$custom: #380312;
$custom-light: #73494f;
$custom-dark: #000000;
JSON
{
  "hex": "#380312",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 18
  },
  "hsl": {
    "h": 343.019,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22238,
    "c": 0.08231,
    "h": 10.2
  },
  "luminance": 0.0095
}

Semantic roles & 50–950 ramp

primary
#380312
secondary
#1C7B60
accent
#FFC229
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090102
muted
#7B7778

Preview Lab

Preview with #380312

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

Preview Lab → · Contrast checker → · Palette generator →

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