#3B0218#3B0218

#3B0218 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 23.0% C 0.088 H 4.0°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#3B0218
RGBrgb(59, 2, 24)
HSLhsl(337, 93%, 12%)
HSVhsv(337, 97%, 23%)
CMYKcmyk(0%, 96.6%, 59.3%, 76.9%)
CIE-LABlab(9.32, 28.70, 2.33)
CIE-LCHlch(9.32, 28.79, 4.65°)
OKLaboklab(22.98% 0.088 0.0062)
OKLCHoklch(22.98% 0.088 4)
XYZxyz(1.9904, 1.0395, 0.9598)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0218 #023B25
analogous
#3B0235 #3B0218 #3B0802
triadic
#3B0218 #183B02 #02183B
tetradic
#3B0218 #353B02 #023B25 #08023B
square
#3B0218 #353B02 #023B25 #08023B
split-complementary
#3B0218 #023B08 #02353B
monochromatic
#1E010C #1E010C #3B0218 #760430 #B10648

Accessibility & contrast

On white

17.39
#3B0218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#3B0218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0218
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0218#FFFFFF#000000##FFFFFF
##3B02181.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111318
Deuteranopia (green-blind)
#201E17
Tritanopia (blue-blind)
#41000B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3b0218;
/* rgb */ color: rgb(59, 2, 24);
/* oklch */ color: oklch(23.0% 0.088 4.0);
Tailwind
colors: {
  custom: {
    50: '#754a54',
    500: '#3b0218',
    950: '#000000',
  },
}
SCSS
$custom: #3b0218;
$custom-light: #754a54;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0218",
  "rgb": {
    "r": 59,
    "g": 2,
    "b": 24
  },
  "hsl": {
    "h": 336.842,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22978,
    "c": 0.08826,
    "h": 4
  },
  "luminance": 0.01039
}

Semantic roles & 50–950 ramp

primary
#3B0218
secondary
#1A7E58
accent
#FFAC29
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090102
muted
#7B7778

Preview Lab

Preview with #3B0218

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

Preview Lab → · Contrast checker → · Palette generator →

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