#38071C#38071C

#38071C is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.1% C 0.079 H 359.4°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#38071C
RGBrgb(56, 7, 28)
HSLhsl(334, 78%, 12%)
HSVhsv(334, 88%, 22%)
CMYKcmyk(0%, 87.5%, 50%, 78%)
CIE-LABlab(9.62, 25.68, -0.41)
CIE-LCHlch(9.62, 25.68, 359.09°)
OKLaboklab(23.12% 0.0789 -0.0008)
OKLCHoklch(23.12% 0.079 359.4)
XYZxyz(1.9166, 1.0768, 1.2053)
Luminance0.0108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38071C #073823
analogous
#380735 #38071C #380B07
triadic
#38071C #1C3807 #071C38
tetradic
#38071C #353807 #073823 #0B0738
square
#38071C #353807 #073823 #0B0738
split-complementary
#38071C #07380B #073538
monochromatic
#1B030E #1B030E #38071C #6E0E37 #A51552

Accessibility & contrast

On white

17.28
#38071C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#38071C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38071C
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38071C#FFFFFF#000000##FFFFFF
##38071C1.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12151D
Deuteranopia (green-blind)
#1F1E1B
Tritanopia (blue-blind)
#3D0210
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #38071c;
/* rgb */ color: rgb(56, 7, 28);
/* oklch */ color: oklch(23.1% 0.079 359.4);
Tailwind
colors: {
  custom: {
    50: '#724c57',
    500: '#38071c',
    950: '#000000',
  },
}
SCSS
$custom: #38071c;
$custom-light: #724c57;
$custom-dark: #000000;
JSON
{
  "hex": "#38071c",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 28
  },
  "hsl": {
    "h": 334.286,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23117,
    "c": 0.07887,
    "h": 359.4
  },
  "luminance": 0.01077
}

Semantic roles & 50–950 ramp

primary
#38071C
secondary
#237853
accent
#F4A234
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080103
muted
#7B7778

Preview Lab

Preview with #38071C

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

Preview Lab → · Contrast checker → · Palette generator →

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