#38062D#38062D

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

Color values

HEX#38062D
RGBrgb(56, 6, 45)
HSLhsl(313, 81%, 12%)
HSVhsv(313, 89%, 22%)
CMYKcmyk(0%, 89.3%, 19.6%, 78%)
CIE-LABlab(10.26, 28.63, -12.25)
CIE-LCHlch(10.26, 31.14, 336.84°)
OKLaboklab(23.86% 0.0851 -0.0332)
OKLCHoklch(23.86% 0.091 338.7)
XYZxyz(2.1697, 1.1607, 2.5919)
Luminance0.0116 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38062D #063811
analogous
#2A0638 #38062D #380614
triadic
#38062D #2D3806 #062D38
tetradic
#38062D #382A06 #063811 #061438
square
#38062D #382A06 #063811 #061438
split-complementary
#38062D #143806 #06382A
monochromatic
#1C0316 #1C0316 #38062D #6F0C59 #A71286

Accessibility & contrast

On white

17.05
#38062D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38062D
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38062D#FFFFFF#000000##FFFFFF
##38062D1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172E
Deuteranopia (green-blind)
#1A1F2C
Tritanopia (blue-blind)
#3C0818
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #38062d;
/* rgb */ color: rgb(56, 6, 45);
/* oklch */ color: oklch(23.9% 0.091 338.7);
Tailwind
colors: {
  custom: {
    50: '#714c66',
    500: '#38062d',
    950: '#000000',
  },
}
SCSS
$custom: #38062d;
$custom-light: #714c66;
$custom-dark: #000000;
JSON
{
  "hex": "#38062d",
  "rgb": {
    "r": 56,
    "g": 6,
    "b": 45
  },
  "hsl": {
    "h": 313.2,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23855,
    "c": 0.09131,
    "h": 338.7
  },
  "luminance": 0.0116
}

Semantic roles & 50–950 ramp

primary
#38062D
secondary
#217835
accent
#F75C31
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080105
muted
#7B777A

Preview Lab

Preview with #38062D

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

Preview Lab → · Contrast checker → · Palette generator →

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