#38052F#38052F

#38052F is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.9% C 0.095 H 336.5°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#38052F
RGBrgb(56, 5, 47)
HSLhsl(311, 84%, 12%)
HSVhsv(311, 91%, 22%)
CMYKcmyk(0%, 91.1%, 16.1%, 78%)
CIE-LABlab(10.22, 29.45, -13.80)
CIE-LCHlch(10.22, 32.52, 334.89°)
OKLaboklab(23.86% 0.0867 -0.0376)
OKLCHoklch(23.86% 0.095 336.5)
XYZxyz(2.1983, 1.1547, 2.7959)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38052F #05380E
analogous
#280538 #38052F #380516
triadic
#38052F #2F3805 #052F38
tetradic
#38052F #382805 #05380E #051638
square
#38052F #382805 #05380E #051638
split-complementary
#38052F #163805 #053828
monochromatic
#1C0318 #1C0318 #38052F #700A5E #A80F8D

Accessibility & contrast

On white

17.06
#38052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38052F
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38052F#FFFFFF#000000##FFFFFF
##38052F1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061730
Deuteranopia (green-blind)
#181F2E
Tritanopia (blue-blind)
#3B0819
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #38052f;
/* rgb */ color: rgb(56, 5, 47);
/* oklch */ color: oklch(23.9% 0.095 336.5);
Tailwind
colors: {
  custom: {
    50: '#714c67',
    500: '#38052f',
    950: '#000000',
  },
}
SCSS
$custom: #38052f;
$custom-light: #714c67;
$custom-dark: #000000;
JSON
{
  "hex": "#38052f",
  "rgb": {
    "r": 56,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 310.588,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23862,
    "c": 0.09451,
    "h": 336.5
  },
  "luminance": 0.01155
}

Semantic roles & 50–950 ramp

primary
#38052F
secondary
#20792F
accent
#FA522E
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #38052F

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

Preview Lab → · Contrast checker → · Palette generator →

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