#38062E#38062E

#38062E is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.9% C 0.092 H 337.6°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#38062E
RGBrgb(56, 6, 46)
HSLhsl(312, 81%, 12%)
HSVhsv(312, 89%, 22%)
CMYKcmyk(0%, 89.3%, 17.9%, 78%)
CIE-LABlab(10.32, 28.80, -12.90)
CIE-LCHlch(10.32, 31.56, 335.88°)
OKLaboklab(23.92% 0.0852 -0.0351)
OKLCHoklch(23.92% 0.092 337.6)
XYZxyz(2.1892, 1.1685, 2.6945)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38062E #063810
analogous
#290638 #38062E #380615
triadic
#38062E #2E3806 #062E38
tetradic
#38062E #382906 #063810 #061538
square
#38062E #382906 #063810 #061538
split-complementary
#38062E #153806 #063829
monochromatic
#1C0317 #1C0317 #38062E #6F0C5B #A71289

Accessibility & contrast

On white

17.02
#38062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38062E
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38062E#FFFFFF#000000##FFFFFF
##38062E1.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38062e;
/* rgb */ color: rgb(56, 6, 46);
/* oklch */ color: oklch(23.9% 0.092 337.6);
Tailwind
colors: {
  custom: {
    50: '#714c66',
    500: '#38062e',
    950: '#000000',
  },
}
SCSS
$custom: #38062e;
$custom-light: #714c66;
$custom-dark: #000000;
JSON
{
  "hex": "#38062e",
  "rgb": {
    "r": 56,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 312,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23916,
    "c": 0.09212,
    "h": 337.6
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#38062E
secondary
#217833
accent
#F75831
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #38062E

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

Preview Lab → · Contrast checker → · Palette generator →

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