#3E152F#3E152F

#3E152F is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.0% C 0.073 H 344.2°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#3E152F
RGBrgb(62, 21, 47)
HSLhsl(322, 49%, 16%)
HSVhsv(322, 66%, 24%)
CMYKcmyk(0%, 66.1%, 24.2%, 75.7%)
CIE-LABlab(14.21, 23.63, -7.54)
CIE-LCHlch(14.21, 24.80, 342.31°)
OKLaboklab(27% 0.0707 -0.02)
OKLCHoklch(27% 0.073 344.2)
XYZxyz(2.7679, 1.7659, 2.8839)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E152F #153E24
analogous
#39153E #3E152F #3E151B
triadic
#3E152F #2F3E15 #152F3E
tetradic
#3E152F #3E3915 #153E24 #151B3E
square
#3E152F #3E3915 #153E24 #151B3E
split-complementary
#3E152F #1B3E15 #153E39
monochromatic
#170811 #170811 #3E152F #6C2452 #993474

Accessibility & contrast

On white

15.52
#3E152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3E152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E152F
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E152F#FFFFFF#000000##FFFFFF
##3E152F1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182030
Deuteranopia (green-blind)
#24272E
Tritanopia (blue-blind)
#42151F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3e152f;
/* rgb */ color: rgb(62, 21, 47);
/* oklch */ color: oklch(27.0% 0.073 344.2);
Tailwind
colors: {
  custom: {
    50: '#755567',
    500: '#3e152f',
    950: '#000000',
  },
}
SCSS
$custom: #3e152f;
$custom-light: #755567;
$custom-dark: #000000;
JSON
{
  "hex": "#3e152f",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 321.951,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27002,
    "c": 0.07349,
    "h": 344.2
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#3E152F
secondary
#39764F
accent
#D9814F
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080306
muted
#7B787A

Preview Lab

Preview with #3E152F

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

Preview Lab → · Contrast checker → · Palette generator →

#3E152F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva