#38112C#38112C

#38112C is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.2% C 0.073 H 341.4°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#38112C
RGBrgb(56, 17, 44)
HSLhsl(318, 53%, 14%)
HSVhsv(318, 70%, 22%)
CMYKcmyk(0%, 69.6%, 21.4%, 78%)
CIE-LABlab(12.11, 23.14, -8.65)
CIE-LCHlch(12.11, 24.71, 339.51°)
OKLaboklab(25.19% 0.0688 -0.0232)
OKLCHoklch(25.19% 0.073 341.4)
XYZxyz(2.2860, 1.4237, 2.5368)
Luminance0.0142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38112C #11381D
analogous
#311138 #38112C #381119
triadic
#38112C #2C3811 #112C38
tetradic
#38112C #383111 #11381D #111938
square
#38112C #383111 #11381D #111938
split-complementary
#38112C #193811 #113831
monochromatic
#170712 #170712 #38112C #671F51 #962E76

Accessibility & contrast

On white

16.35
#38112C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38112C
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38112C#FFFFFF#000000##FFFFFF
##38112C1.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141C2D
Deuteranopia (green-blind)
#1F222B
Tritanopia (blue-blind)
#3C121C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #38112c;
/* rgb */ color: rgb(56, 17, 44);
/* oklch */ color: oklch(25.2% 0.073 341.4);
Tailwind
colors: {
  custom: {
    50: '#705265',
    500: '#38112c',
    950: '#000000',
  },
}
SCSS
$custom: #38112c;
$custom-light: #705265;
$custom-dark: #000000;
JSON
{
  "hex": "#38112c",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 44
  },
  "hsl": {
    "h": 318.462,
    "s": 53.425,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25186,
    "c": 0.07263,
    "h": 341.4
  },
  "luminance": 0.01423
}

Semantic roles & 50–950 ramp

primary
#38112C
secondary
#347147
accent
#DD784B
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#080205
muted
#7B787A

Preview Lab

Preview with #38112C

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

Preview Lab → · Contrast checker → · Palette generator →

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