#38071A#38071A

#38071A is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.0% C 0.078 H 2.1°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#38071A
RGBrgb(56, 7, 26)
HSLhsl(337, 78%, 12%)
HSVhsv(337, 88%, 22%)
CMYKcmyk(0%, 87.5%, 53.6%, 78%)
CIE-LABlab(9.54, 25.45, 1.02)
CIE-LCHlch(9.54, 25.47, 2.30°)
OKLaboklab(23.04% 0.078 0.0029)
OKLCHoklch(23.04% 0.078 2.1)
XYZxyz(1.8935, 1.0675, 1.0834)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38071A #073825
analogous
#380733 #38071A #380D07
triadic
#38071A #1A3807 #071A38
tetradic
#38071A #333807 #073825 #0D0738
square
#38071A #333807 #073825 #0D0738
split-complementary
#38071A #07380D #073338
monochromatic
#1B030D #1B030D #38071A #6E0E33 #A5154D

Accessibility & contrast

On white

17.31
#38071A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#38071A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38071A
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38071A#FFFFFF#000000##FFFFFF
##38071A1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12141A
Deuteranopia (green-blind)
#1F1E19
Tritanopia (blue-blind)
#3E010F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #38071a;
/* rgb */ color: rgb(56, 7, 26);
/* oklch */ color: oklch(23.0% 0.078 2.1);
Tailwind
colors: {
  custom: {
    50: '#724c56',
    500: '#38071a',
    950: '#000000',
  },
}
SCSS
$custom: #38071a;
$custom-light: #724c56;
$custom-dark: #000000;
JSON
{
  "hex": "#38071a",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 26
  },
  "hsl": {
    "h": 336.735,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23039,
    "c": 0.07809,
    "h": 2.1
  },
  "luminance": 0.01067
}

Semantic roles & 50–950 ramp

primary
#38071A
secondary
#237857
accent
#F4AA34
background
#F7F4F5
surface
#EDE7E8
border
#C8C3C4
text
#080103
muted
#7B7778

Preview Lab

Preview with #38071A

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

Preview Lab → · Contrast checker → · Palette generator →

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