#38112F#38112F

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

Color values

HEX#38112F
RGBrgb(56, 17, 47)
HSLhsl(314, 53%, 14%)
HSVhsv(314, 70%, 22%)
CMYKcmyk(0%, 69.6%, 16.1%, 78%)
CIE-LABlab(12.27, 23.70, -10.61)
CIE-LCHlch(12.27, 25.97, 335.89°)
OKLaboklab(25.35% 0.0696 -0.0287)
OKLCHoklch(25.35% 0.075 337.6)
XYZxyz(2.3445, 1.4471, 2.8446)
Luminance0.0145 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38112F #11381A
analogous
#2E1138 #38112F #38111C
triadic
#38112F #2F3811 #112F38
tetradic
#38112F #382E11 #11381A #111C38
square
#38112F #382E11 #11381A #111C38
split-complementary
#38112F #1C3811 #11382E
monochromatic
#170714 #170714 #38112F #671F56 #962E7E

Accessibility & contrast

On white

16.29
#38112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38112F
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38112F#FFFFFF#000000##FFFFFF
##38112F1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121C30
Deuteranopia (green-blind)
#1E222E
Tritanopia (blue-blind)
#3B131E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #38112f;
/* rgb */ color: rgb(56, 17, 47);
/* oklch */ color: oklch(25.3% 0.075 337.6);
Tailwind
colors: {
  custom: {
    50: '#705267',
    500: '#38112f',
    950: '#000000',
  },
}
SCSS
$custom: #38112f;
$custom-light: #705267;
$custom-dark: #000000;
JSON
{
  "hex": "#38112f",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 313.846,
    "s": 53.425,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25349,
    "c": 0.07527,
    "h": 337.6
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#38112F
secondary
#347142
accent
#DD6D4B
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #38112F

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

Preview Lab → · Contrast checker → · Palette generator →

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