#38052A#38052A

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

Color values

HEX#38052A
RGBrgb(56, 5, 42)
HSLhsl(316, 84%, 12%)
HSVhsv(316, 91%, 22%)
CMYKcmyk(0%, 91.1%, 25%, 78%)
CIE-LABlab(9.93, 28.61, -10.54)
CIE-LCHlch(9.93, 30.49, 339.78°)
OKLaboklab(23.56% 0.086 -0.0284)
OKLCHoklch(23.56% 0.091 341.8)
XYZxyz(2.1032, 1.1167, 2.2948)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38052A #053813
analogous
#2D0538 #38052A #380510
triadic
#38052A #2A3805 #052A38
tetradic
#38052A #382D05 #053813 #051038
square
#38052A #382D05 #053813 #051038
split-complementary
#38052A #103805 #05382D
monochromatic
#1C0315 #1C0315 #38052A #700A54 #A80F7E

Accessibility & contrast

On white

17.17
#38052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#38052A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38052A
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38052A#FFFFFF#000000##FFFFFF
##38052A1.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)
#09162B
Deuteranopia (green-blind)
#1A1E29
Tritanopia (blue-blind)
#3C0616
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #38052a;
/* rgb */ color: rgb(56, 5, 42);
/* oklch */ color: oklch(23.6% 0.091 341.8);
Tailwind
colors: {
  custom: {
    50: '#714b63',
    500: '#38052a',
    950: '#000000',
  },
}
SCSS
$custom: #38052a;
$custom-light: #714b63;
$custom-dark: #000000;
JSON
{
  "hex": "#38052a",
  "rgb": {
    "r": 56,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 316.471,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23557,
    "c": 0.09059,
    "h": 341.8
  },
  "luminance": 0.01116
}

Semantic roles & 50–950 ramp

primary
#38052A
secondary
#207938
accent
#FA662E
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#080105
muted
#7B7779

Preview Lab

Preview with #38052A

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

Preview Lab → · Contrast checker → · Palette generator →

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