#38112A#38112A

#38112A is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.1% C 0.071 H 344.1°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#38112A
RGBrgb(56, 17, 42)
HSLhsl(322, 53%, 14%)
HSVhsv(322, 70%, 22%)
CMYKcmyk(0%, 69.6%, 25%, 78%)
CIE-LABlab(12.02, 22.79, -7.33)
CIE-LCHlch(12.02, 23.94, 342.17°)
OKLaboklab(25.08% 0.0683 -0.0195)
OKLCHoklch(25.08% 0.071 344.1)
XYZxyz(2.2493, 1.4090, 2.3435)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38112A #11381F
analogous
#331138 #38112A #381117
triadic
#38112A #2A3811 #112A38
tetradic
#38112A #383311 #11381F #111738
square
#38112A #383311 #11381F #111738
split-complementary
#38112A #173811 #113833
monochromatic
#170712 #170712 #38112A #671F4D #962E70

Accessibility & contrast

On white

16.38
#38112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#38112A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38112A
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38112A#FFFFFF#000000##FFFFFF
##38112A1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141B2B
Deuteranopia (green-blind)
#202229
Tritanopia (blue-blind)
#3C111B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #38112a;
/* rgb */ color: rgb(56, 17, 42);
/* oklch */ color: oklch(25.1% 0.071 344.1);
Tailwind
colors: {
  custom: {
    50: '#705163',
    500: '#38112a',
    950: '#000000',
  },
}
SCSS
$custom: #38112a;
$custom-light: #705163;
$custom-dark: #000000;
JSON
{
  "hex": "#38112a",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 321.538,
    "s": 53.425,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25083,
    "c": 0.07099,
    "h": 344.1
  },
  "luminance": 0.01409
}

Semantic roles & 50–950 ramp

primary
#38112A
secondary
#34714A
accent
#DD7F4B
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#080205
muted
#7B7879

Preview Lab

Preview with #38112A

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

Preview Lab → · Contrast checker → · Palette generator →

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