#383238#383238

#383238 is a dark, near-neutral grey. Relative luminance 0.034; OKLCH L 32.6% C 0.013 H 325.9°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#383238
RGBrgb(56, 50, 56)
HSLhsl(300, 6%, 21%)
HSVhsv(300, 11%, 22%)
CMYKcmyk(0%, 10.7%, 0%, 78%)
CIE-LABlab(21.61, 4.01, -2.81)
CIE-LCHlch(21.61, 4.90, 324.94°)
OKLaboklab(32.57% 0.011 -0.0075)
OKLCHoklch(32.57% 0.013 325.9)
XYZxyz(3.4852, 3.4075, 4.2147)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383238 #323832
analogous
#353238 #383238 #383235
triadic
#383238 #383832 #323838
tetradic
#383238 #383532 #323832 #323538
square
#383238 #383532 #323832 #323538
split-complementary
#383238 #353832 #323835
monochromatic
#100E10 #181518 #383238 #584F58 #796C79

Accessibility & contrast

On white

12.49
#383238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#383238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383238
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383238#FFFFFF#000000##FFFFFF
##3832381.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323338
Deuteranopia (green-blind)
#333438
Tritanopia (blue-blind)
#383234
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #383238;
/* rgb */ color: rgb(56, 50, 56);
/* oklch */ color: oklch(32.6% 0.013 325.9);
Tailwind
colors: {
  custom: {
    50: '#6e696e',
    500: '#383238',
    950: '#000000',
  },
}
SCSS
$custom: #383238;
$custom-light: #6e696e;
$custom-dark: #000000;
JSON
{
  "hex": "#383238",
  "rgb": {
    "r": 56,
    "g": 50,
    "b": 56
  },
  "hsl": {
    "h": 300,
    "s": 5.66,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32572,
    "c": 0.01334,
    "h": 325.9
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#383238
secondary
#5F675F
accent
#AF7979
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#070607
muted
#7A7A7A

Preview Lab

Preview with #383238

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

Preview Lab → · Contrast checker → · Palette generator →

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