#38112E#38112E

#38112E is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.3% C 0.074 H 338.8°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#38112E
RGBrgb(56, 17, 46)
HSLhsl(315, 53%, 14%)
HSVhsv(315, 70%, 22%)
CMYKcmyk(0%, 69.6%, 17.9%, 78%)
CIE-LABlab(12.22, 23.51, -9.96)
CIE-LCHlch(12.22, 25.54, 337.05°)
OKLaboklab(25.29% 0.0694 -0.0268)
OKLCHoklch(25.29% 0.074 338.8)
XYZxyz(2.3245, 1.4391, 2.7396)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38112E #11381B
analogous
#2F1138 #38112E #38111B
triadic
#38112E #2E3811 #112E38
tetradic
#38112E #382F11 #11381B #111B38
square
#38112E #382F11 #11381B #111B38
split-complementary
#38112E #1B3811 #11382F
monochromatic
#170713 #170713 #38112E #671F55 #962E7B

Accessibility & contrast

On white

16.31
#38112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#38112E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38112E
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38112E#FFFFFF#000000##FFFFFF
##38112E1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2F
Deuteranopia (green-blind)
#1E222D
Tritanopia (blue-blind)
#3B121D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #38112e;
/* rgb */ color: rgb(56, 17, 46);
/* oklch */ color: oklch(25.3% 0.074 338.8);
Tailwind
colors: {
  custom: {
    50: '#705266',
    500: '#38112e',
    950: '#000000',
  },
}
SCSS
$custom: #38112e;
$custom-light: #705266;
$custom-dark: #000000;
JSON
{
  "hex": "#38112e",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 315.385,
    "s": 53.425,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25294,
    "c": 0.07437,
    "h": 338.8
  },
  "luminance": 0.01439
}

Semantic roles & 50–950 ramp

primary
#38112E
secondary
#347143
accent
#DD704B
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #38112E

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

Preview Lab → · Contrast checker → · Palette generator →

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