#38042D#38042D

#38042D is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.6% C 0.095 H 338.5°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#38042D
RGBrgb(56, 4, 45)
HSLhsl(313, 87%, 12%)
HSVhsv(313, 93%, 22%)
CMYKcmyk(0%, 92.9%, 19.6%, 78%)
CIE-LABlab(9.93, 29.58, -12.77)
CIE-LCHlch(9.93, 32.22, 336.66°)
OKLaboklab(23.62% 0.0879 -0.0347)
OKLCHoklch(23.62% 0.095 338.5)
XYZxyz(2.1480, 1.1173, 2.5846)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38042D #04380F
analogous
#290438 #38042D #380413
triadic
#38042D #2D3804 #042D38
tetradic
#38042D #382904 #04380F #041338
square
#38042D #382904 #04380F #041338
split-complementary
#38042D #133804 #043829
monochromatic
#1D0217 #1D0217 #38042D #71085B #AA0C89

Accessibility & contrast

On white

17.17
#38042D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#38042D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38042D
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38042D#FFFFFF#000000##FFFFFF
##38042D1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06162E
Deuteranopia (green-blind)
#191E2C
Tritanopia (blue-blind)
#3C0618
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #38042d;
/* rgb */ color: rgb(56, 4, 45);
/* oklch */ color: oklch(23.6% 0.095 338.5);
Tailwind
colors: {
  custom: {
    50: '#714b66',
    500: '#38042d',
    950: '#000000',
  },
}
SCSS
$custom: #38042d;
$custom-light: #714b66;
$custom-dark: #000000;
JSON
{
  "hex": "#38042d",
  "rgb": {
    "r": 56,
    "g": 4,
    "b": 45
  },
  "hsl": {
    "h": 312.692,
    "s": 86.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23617,
    "c": 0.09453,
    "h": 338.5
  },
  "luminance": 0.01117
}

Semantic roles & 50–950 ramp

primary
#38042D
secondary
#1E7A31
accent
#FD572B
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080105
muted
#7B777A

Preview Lab

Preview with #38042D

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

Preview Lab → · Contrast checker → · Palette generator →

#38042D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva