#38162A#38162A

#38162A is a dark, moderate pink. Relative luminance 0.016; OKLCH L 25.9% C 0.061 H 345.9°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#38162A
RGBrgb(56, 22, 42)
HSLhsl(325, 44%, 15%)
HSVhsv(325, 61%, 22%)
CMYKcmyk(0%, 60.7%, 25%, 78%)
CIE-LABlab(13.12, 19.85, -5.65)
CIE-LCHlch(13.12, 20.64, 344.10°)
OKLaboklab(25.9% 0.0594 -0.0149)
OKLCHoklch(25.9% 0.061 345.9)
XYZxyz(2.3358, 1.5819, 2.3724)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38162A #163824
analogous
#351638 #38162A #381619
triadic
#38162A #2A3816 #162A38
tetradic
#38162A #383516 #163824 #161938
square
#38162A #383516 #163824 #161938
split-complementary
#38162A #193816 #163835
monochromatic
#160910 #160910 #38162A #64274B #90396C

Accessibility & contrast

On white

15.95
#38162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#38162A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38162A
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38162A#FFFFFF#000000##FFFFFF
##38162A1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191E2B
Deuteranopia (green-blind)
#222429
Tritanopia (blue-blind)
#3C161E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #38162a;
/* rgb */ color: rgb(56, 22, 42);
/* oklch */ color: oklch(25.9% 0.061 345.9);
Tailwind
colors: {
  custom: {
    50: '#705563',
    500: '#38162a',
    950: '#000000',
  },
}
SCSS
$custom: #38162a;
$custom-light: #705563;
$custom-dark: #000000;
JSON
{
  "hex": "#38162a",
  "rgb": {
    "r": 56,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 324.706,
    "s": 43.59,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25901,
    "c": 0.06125,
    "h": 345.9
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#38162A
secondary
#3B6F50
accent
#D38954
background
#F6F4F5
surface
#ECE8EA
border
#C7C4C6
text
#070305
muted
#7A7879

Preview Lab

Preview with #38162A

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

Preview Lab → · Contrast checker → · Palette generator →

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