#38182E#38182E

#38182E is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.5% C 0.061 H 340.5°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#38182E
RGBrgb(56, 24, 46)
HSLhsl(319, 40%, 16%)
HSVhsv(319, 57%, 22%)
CMYKcmyk(0%, 57.1%, 17.9%, 78%)
CIE-LABlab(13.78, 19.36, -7.56)
CIE-LCHlch(13.78, 20.79, 338.66°)
OKLaboklab(26.45% 0.057 -0.0202)
OKLCHoklch(26.45% 0.061 340.5)
XYZxyz(2.4507, 1.6915, 2.7816)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38182E #183822
analogous
#321838 #38182E #38181E
triadic
#38182E #2E3818 #182E38
tetradic
#38182E #383218 #183822 #181E38
square
#38182E #383218 #183822 #181E38
split-complementary
#38182E #1E3818 #183832
monochromatic
#150912 #150912 #38182E #632A51 #8E3D74

Accessibility & contrast

On white

15.69
#38182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#38182E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38182E
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38182E#FFFFFF#000000##FFFFFF
##38182E1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A202F
Deuteranopia (green-blind)
#22252D
Tritanopia (blue-blind)
#3B1920
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #38182e;
/* rgb */ color: rgb(56, 24, 46);
/* oklch */ color: oklch(26.5% 0.061 340.5);
Tailwind
colors: {
  custom: {
    50: '#705666',
    500: '#38182e',
    950: '#000000',
  },
}
SCSS
$custom: #38182e;
$custom-light: #705666;
$custom-dark: #000000;
JSON
{
  "hex": "#38182e",
  "rgb": {
    "r": 56,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 318.75,
    "s": 40,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26451,
    "c": 0.06052,
    "h": 340.5
  },
  "luminance": 0.01691
}

Semantic roles & 50–950 ramp

primary
#38182E
secondary
#3E6E4D
accent
#D07D58
background
#F6F5F6
surface
#ECE9EB
border
#C7C5C6
text
#070306
muted
#7A787A

Preview Lab

Preview with #38182E

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

Preview Lab → · Contrast checker → · Palette generator →

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