#3F1237#3F1237

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

Color values

HEX#3F1237
RGBrgb(63, 18, 55)
HSLhsl(311, 56%, 16%)
HSVhsv(311, 71%, 25%)
CMYKcmyk(0%, 71.4%, 12.7%, 75.3%)
CIE-LABlab(14.20, 27.04, -13.28)
CIE-LCHlch(14.20, 30.13, 333.85°)
OKLaboklab(27.17% 0.0788 -0.0361)
OKLCHoklch(27.17% 0.087 335.4)
XYZxyz(2.9558, 1.7654, 3.7988)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1237 #123F1A
analogous
#30123F #3F1237 #3F1220
triadic
#3F1237 #373F12 #12373F
tetradic
#3F1237 #3F3012 #123F1A #12203F
square
#3F1237 #3F3012 #123F1A #12203F
split-complementary
#3F1237 #203F12 #123F30
monochromatic
#180715 #180715 #3F1237 #6F2061 #9E2D8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F1237#FFFFFF#000000##FFFFFF
##3F12371.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)
#122038
Deuteranopia (green-blind)
#202636
Tritanopia (blue-blind)
#421522
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f1237;
/* rgb */ color: rgb(63, 18, 55);
/* oklch */ color: oklch(27.2% 0.087 335.4);
Tailwind
colors: {
  custom: {
    50: '#76536e',
    500: '#3f1237',
    950: '#000000',
  },
}
SCSS
$custom: #3f1237;
$custom-light: #76536e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1237",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 310.667,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27169,
    "c": 0.08663,
    "h": 335.4
  },
  "luminance": 0.01765
}

Semantic roles & 50–950 ramp

primary
#3F1237
secondary
#357841
accent
#DF6449
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090307
muted
#7B787A

Preview Lab

Preview with #3F1237

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

Preview Lab → · Contrast checker → · Palette generator →

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