#3E1234#3E1234

#3E1234 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.8% C 0.083 H 337.7°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#3E1234
RGBrgb(62, 18, 52)
HSLhsl(314, 55%, 16%)
HSVhsv(314, 71%, 24%)
CMYKcmyk(0%, 71%, 16.1%, 75.7%)
CIE-LABlab(13.86, 26.15, -11.68)
CIE-LCHlch(13.86, 28.64, 335.93°)
OKLaboklab(26.82% 0.0769 -0.0316)
OKLCHoklch(26.82% 0.083 337.7)
XYZxyz(2.8228, 1.7049, 3.4286)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1234 #123E1C
analogous
#32123E #3E1234 #3E121E
triadic
#3E1234 #343E12 #12343E
tetradic
#3E1234 #3E3212 #123E1C #121E3E
square
#3E1234 #3E3212 #123E1C #121E3E
split-complementary
#3E1234 #1E3E12 #123E32
monochromatic
#180714 #180714 #3E1234 #6D205C #9D2E84

Accessibility & contrast

On white

15.66
#3E1234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1234
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1234#FFFFFF#000000##FFFFFF
##3E12341.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131F35
Deuteranopia (green-blind)
#212633
Tritanopia (blue-blind)
#421421
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3e1234;
/* rgb */ color: rgb(62, 18, 52);
/* oklch */ color: oklch(26.8% 0.083 337.7);
Tailwind
colors: {
  custom: {
    50: '#75536b',
    500: '#3e1234',
    950: '#000000',
  },
}
SCSS
$custom: #3e1234;
$custom-light: #75536b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1234",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 313.636,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26824,
    "c": 0.08312,
    "h": 337.7
  },
  "luminance": 0.01705
}

Semantic roles & 50–950 ramp

primary
#3E1234
secondary
#357744
accent
#DE6B49
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080306
muted
#7B787A

Preview Lab

Preview with #3E1234

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

Preview Lab → · Contrast checker → · Palette generator →

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