#38052E#38052E

#38052E is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.8% C 0.094 H 337.5°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#38052E
RGBrgb(56, 5, 46)
HSLhsl(312, 84%, 12%)
HSVhsv(312, 91%, 22%)
CMYKcmyk(0%, 91.1%, 17.9%, 78%)
CIE-LABlab(10.16, 29.27, -13.15)
CIE-LCHlch(10.16, 32.09, 335.80°)
OKLaboklab(23.8% 0.0866 -0.0358)
OKLCHoklch(23.8% 0.094 337.5)
XYZxyz(2.1783, 1.1468, 2.6909)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38052E #05380F
analogous
#290538 #38052E #380515
triadic
#38052E #2E3805 #052E38
tetradic
#38052E #382905 #05380F #051538
square
#38052E #382905 #05380F #051538
split-complementary
#38052E #153805 #053829
monochromatic
#1C0317 #1C0317 #38052E #700A5C #A80F8A

Accessibility & contrast

On white

17.08
#38052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#38052E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38052E
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38052E#FFFFFF#000000##FFFFFF
##38052E1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07172F
Deuteranopia (green-blind)
#191F2D
Tritanopia (blue-blind)
#3C0819
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #38052e;
/* rgb */ color: rgb(56, 5, 46);
/* oklch */ color: oklch(23.8% 0.094 337.5);
Tailwind
colors: {
  custom: {
    50: '#714c67',
    500: '#38052e',
    950: '#000000',
  },
}
SCSS
$custom: #38052e;
$custom-light: #714c67;
$custom-dark: #000000;
JSON
{
  "hex": "#38052e",
  "rgb": {
    "r": 56,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 311.765,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23799,
    "c": 0.0937,
    "h": 337.5
  },
  "luminance": 0.01147
}

Semantic roles & 50–950 ramp

primary
#38052E
secondary
#207931
accent
#FA562E
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #38052E

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

Preview Lab → · Contrast checker → · Palette generator →

#38052E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva