#38182A#38182A

#38182A is a dark, muted pink. Relative luminance 0.017; OKLCH L 26.3% C 0.057 H 346.9°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#38182A
RGBrgb(56, 24, 42)
HSLhsl(326, 40%, 16%)
HSVhsv(326, 57%, 22%)
CMYKcmyk(0%, 57.1%, 25%, 78%)
CIE-LABlab(13.60, 18.60, -4.93)
CIE-LCHlch(13.60, 19.25, 345.16°)
OKLaboklab(26.26% 0.0557 -0.013)
OKLCHoklch(26.26% 0.057 346.9)
XYZxyz(2.3755, 1.6614, 2.3856)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38182A #183826
analogous
#361838 #38182A #38181A
triadic
#38182A #2A3818 #182A38
tetradic
#38182A #383618 #183826 #181A38
square
#38182A #383618 #183826 #181A38
split-complementary
#38182A #1A3818 #183836
monochromatic
#150910 #150910 #38182A #632A4A #8E3D6A

Accessibility & contrast

On white

15.76
#38182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#38182A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38182A
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38182A#FFFFFF#000000##FFFFFF
##38182A1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F2B
Deuteranopia (green-blind)
#232529
Tritanopia (blue-blind)
#3C171F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #38182a;
/* rgb */ color: rgb(56, 24, 42);
/* oklch */ color: oklch(26.3% 0.057 346.9);
Tailwind
colors: {
  custom: {
    50: '#705663',
    500: '#38182a',
    950: '#000000',
  },
}
SCSS
$custom: #38182a;
$custom-light: #705663;
$custom-dark: #000000;
JSON
{
  "hex": "#38182a",
  "rgb": {
    "r": 56,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 326.25,
    "s": 40,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2626,
    "c": 0.05714,
    "h": 346.9
  },
  "luminance": 0.01661
}

Semantic roles & 50–950 ramp

primary
#38182A
secondary
#3E6E53
accent
#D08C58
background
#F6F5F5
surface
#ECE9EA
border
#C7C5C6
text
#070305
muted
#7A7879

Preview Lab

Preview with #38182A

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

Preview Lab → · Contrast checker → · Palette generator →

#38182A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva