#3E1233#3E1233

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

Color values

HEX#3E1233
RGBrgb(62, 18, 51)
HSLhsl(315, 55%, 16%)
HSVhsv(315, 71%, 24%)
CMYKcmyk(0%, 71%, 17.7%, 75.7%)
CIE-LABlab(13.80, 25.97, -11.04)
CIE-LCHlch(13.80, 28.22, 336.96°)
OKLaboklab(26.77% 0.0767 -0.0298)
OKLCHoklch(26.77% 0.082 338.8)
XYZxyz(2.8005, 1.6960, 3.3112)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1233 #123E1D
analogous
#33123E #3E1233 #3E121D
triadic
#3E1233 #333E12 #12333E
tetradic
#3E1233 #3E3312 #123E1D #121D3E
square
#3E1233 #3E3312 #123E1D #121D3E
split-complementary
#3E1233 #1D3E12 #123E33
monochromatic
#180714 #180714 #3E1233 #6D205A #9D2E81

Accessibility & contrast

On white

15.68
#3E1233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1233
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1233#FFFFFF#000000##FFFFFF
##3E12331.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141F34
Deuteranopia (green-blind)
#212632
Tritanopia (blue-blind)
#421320
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3e1233;
/* rgb */ color: rgb(62, 18, 51);
/* oklch */ color: oklch(26.8% 0.082 338.8);
Tailwind
colors: {
  custom: {
    50: '#75536a',
    500: '#3e1233',
    950: '#000000',
  },
}
SCSS
$custom: #3e1233;
$custom-light: #75536a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1233",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 51
  },
  "hsl": {
    "h": 315,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26768,
    "c": 0.08226,
    "h": 338.8
  },
  "luminance": 0.01696
}

Semantic roles & 50–950 ramp

primary
#3E1233
secondary
#357745
accent
#DE6F49
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3E1233

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

Preview Lab → · Contrast checker → · Palette generator →

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