#38142F#38142F

#38142F is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.8% C 0.070 H 338.1°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#38142F
RGBrgb(56, 20, 47)
HSLhsl(315, 47%, 15%)
HSVhsv(315, 64%, 22%)
CMYKcmyk(0%, 64.3%, 16.1%, 78%)
CIE-LABlab(12.90, 22.00, -9.63)
CIE-LCHlch(12.90, 24.01, 336.35°)
OKLaboklab(25.82% 0.0645 -0.026)
OKLCHoklch(25.82% 0.07 338.1)
XYZxyz(2.3942, 1.5465, 2.8612)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38142F #14381D
analogous
#2F1438 #38142F #38141D
triadic
#38142F #2F3814 #142F38
tetradic
#38142F #382F14 #14381D #141D38
square
#38142F #382F14 #14381D #141D38
split-complementary
#38142F #1D3814 #14382F
monochromatic
#170813 #170813 #38142F #652455 #92347B

Accessibility & contrast

On white

16.04
#38142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#38142F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38142F
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38142F#FFFFFF#000000##FFFFFF
##38142F1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151E30
Deuteranopia (green-blind)
#1F232E
Tritanopia (blue-blind)
#3B151F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #38142f;
/* rgb */ color: rgb(56, 20, 47);
/* oklch */ color: oklch(25.8% 0.070 338.1);
Tailwind
colors: {
  custom: {
    50: '#705367',
    500: '#38142f',
    950: '#000000',
  },
}
SCSS
$custom: #38142f;
$custom-light: #705367;
$custom-dark: #000000;
JSON
{
  "hex": "#38142f",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 315,
    "s": 47.368,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25816,
    "c": 0.06957,
    "h": 338.1
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#38142F
secondary
#387046
accent
#D77251
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #38142F

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

Preview Lab → · Contrast checker → · Palette generator →

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