#3E1236#3E1236

#3E1236 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.9% C 0.085 H 335.5°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#3E1236
RGBrgb(62, 18, 54)
HSLhsl(311, 55%, 16%)
HSVhsv(311, 71%, 24%)
CMYKcmyk(0%, 71%, 12.9%, 75.7%)
CIE-LABlab(13.96, 26.53, -12.95)
CIE-LCHlch(13.96, 29.52, 333.98°)
OKLaboklab(26.94% 0.0773 -0.0352)
OKLCHoklch(26.94% 0.085 335.5)
XYZxyz(2.8688, 1.7233, 3.6709)
Luminance0.0172 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1236 #123E1A
analogous
#30123E #3E1236 #3E1220
triadic
#3E1236 #363E12 #12363E
tetradic
#3E1236 #3E3012 #123E1A #12203E
square
#3E1236 #3E3012 #123E1A #12203E
split-complementary
#3E1236 #203E12 #123E30
monochromatic
#180715 #180715 #3E1236 #6D205F #9D2E89

Accessibility & contrast

On white

15.62
#3E1236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3E1236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1236
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1236#FFFFFF#000000##FFFFFF
##3E12361.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121F37
Deuteranopia (green-blind)
#202635
Tritanopia (blue-blind)
#411522
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3e1236;
/* rgb */ color: rgb(62, 18, 54);
/* oklch */ color: oklch(26.9% 0.085 335.5);
Tailwind
colors: {
  custom: {
    50: '#75536d',
    500: '#3e1236',
    950: '#000000',
  },
}
SCSS
$custom: #3e1236;
$custom-light: #75536d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1236",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 310.909,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26937,
    "c": 0.08492,
    "h": 335.5
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#3E1236
secondary
#357741
accent
#DE6549
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080307
muted
#7B787A

Preview Lab

Preview with #3E1236

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

Preview Lab → · Contrast checker → · Palette generator →

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