#3F042D#3F042D

#3F042D is a dark, moderate pink. Relative luminance 0.013; OKLCH L 25.0% C 0.099 H 344.0°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#3F042D
RGBrgb(63, 4, 45)
HSLhsl(318, 88%, 13%)
HSVhsv(318, 94%, 25%)
CMYKcmyk(0%, 93.7%, 28.6%, 75.3%)
CIE-LABlab(11.51, 31.45, -10.20)
CIE-LCHlch(11.51, 33.07, 342.03°)
OKLaboklab(25.04% 0.0954 -0.0273)
OKLCHoklch(25.04% 0.099 344)
XYZxyz(2.5671, 1.3333, 2.6043)
Luminance0.0133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F042D #043F16
analogous
#33043F #3F042D #3F040F
triadic
#3F042D #2D3F04 #042D3F
tetradic
#3F042D #3F3304 #043F16 #040F3F
square
#3F042D #3F3304 #043F16 #040F3F
split-complementary
#3F042D #0F3F04 #043F33
monochromatic
#1D0215 #1D0215 #3F042D #790856 #B20B7F

Accessibility & contrast

On white

16.58
#3F042D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#3F042D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F042D
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F042D#FFFFFF#000000##FFFFFF
##3F042D1.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B182E
Deuteranopia (green-blind)
#1E222C
Tritanopia (blue-blind)
#440418
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3f042d;
/* rgb */ color: rgb(63, 4, 45);
/* oklch */ color: oklch(25.0% 0.099 344.0);
Tailwind
colors: {
  custom: {
    50: '#774d66',
    500: '#3f042d',
    950: '#000000',
  },
}
SCSS
$custom: #3f042d;
$custom-light: #774d66;
$custom-dark: #000000;
JSON
{
  "hex": "#3f042d",
  "rgb": {
    "r": 63,
    "g": 4,
    "b": 45
  },
  "hsl": {
    "h": 318.305,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25036,
    "c": 0.0992,
    "h": 344
  },
  "luminance": 0.01333
}

Semantic roles & 50–950 ramp

primary
#3F042D
secondary
#1E803C
accent
#FE6A2A
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090105
muted
#7B777A

Preview Lab

Preview with #3F042D

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

Preview Lab → · Contrast checker → · Palette generator →

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