#38121C#38121C

#38121C is a very dark, moderate pink. Relative luminance 0.014; OKLCH L 24.6% C 0.061 H 6.4°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#38121C
RGBrgb(56, 18, 28)
HSLhsl(344, 51%, 15%)
HSVhsv(344, 68%, 22%)
CMYKcmyk(0%, 67.9%, 50%, 78%)
CIE-LABlab(11.67, 20.06, 2.57)
CIE-LCHlch(11.67, 20.23, 7.29°)
OKLaboklab(24.64% 0.0611 0.0068)
OKLCHoklch(24.64% 0.061 6.4)
XYZxyz(2.0569, 1.3574, 1.2521)
Luminance0.0136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38121C #12382E
analogous
#38122F #38121C #381B12
triadic
#38121C #1C3812 #121C38
tetradic
#38121C #2F3812 #12382E #1B1238
square
#38121C #2F3812 #12382E #1B1238
split-complementary
#38121C #12381B #122F38
monochromatic
#17070C #17070C #38121C #662133 #95304A

Accessibility & contrast

On white

16.52
#38121C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#38121C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38121C
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38121C#FFFFFF#000000##FFFFFF
##38121C1.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191A1C
Deuteranopia (green-blind)
#23221B
Tritanopia (blue-blind)
#3D0E16
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #38121c;
/* rgb */ color: rgb(56, 18, 28);
/* oklch */ color: oklch(24.6% 0.061 6.4);
Tailwind
colors: {
  custom: {
    50: '#715257',
    500: '#38121c',
    950: '#000000',
  },
}
SCSS
$custom: #38121c;
$custom-light: #715257;
$custom-dark: #000000;
JSON
{
  "hex": "#38121c",
  "rgb": {
    "r": 56,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 344.211,
    "s": 51.351,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24642,
    "c": 0.06143,
    "h": 6.4
  },
  "luminance": 0.01357
}

Semantic roles & 50–950 ramp

primary
#38121C
secondary
#357161
accent
#DBB54D
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080203
muted
#7B7878

Preview Lab

Preview with #38121C

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

Preview Lab → · Contrast checker → · Palette generator →

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