#3B0217#3B0217

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

Color values

HEX#3B0217
RGBrgb(59, 2, 23)
HSLhsl(338, 93%, 12%)
HSVhsv(338, 97%, 23%)
CMYKcmyk(0%, 96.6%, 61%, 76.9%)
CIE-LABlab(9.28, 28.60, 3.05)
CIE-LCHlch(9.28, 28.77, 6.08°)
OKLaboklab(22.94% 0.0876 0.008)
OKLCHoklch(22.94% 0.088 5.2)
XYZxyz(1.9802, 1.0354, 0.9060)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0217 #023B26
analogous
#3B0234 #3B0217 #3B0A02
triadic
#3B0217 #173B02 #02173B
tetradic
#3B0217 #343B02 #023B26 #0A023B
square
#3B0217 #343B02 #023B26 #0A023B
split-complementary
#3B0217 #023B0A #02343B
monochromatic
#1E010C #1E010C #3B0217 #76042E #B10645

Accessibility & contrast

On white

17.40
#3B0217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0217
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0217#FFFFFF#000000##FFFFFF
##3B02171.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b0217;
/* rgb */ color: rgb(59, 2, 23);
/* oklch */ color: oklch(22.9% 0.088 5.2);
Tailwind
colors: {
  custom: {
    50: '#754a53',
    500: '#3b0217',
    950: '#000000',
  },
}
SCSS
$custom: #3b0217;
$custom-light: #754a53;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0217",
  "rgb": {
    "r": 59,
    "g": 2,
    "b": 23
  },
  "hsl": {
    "h": 337.895,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22943,
    "c": 0.08796,
    "h": 5.2
  },
  "luminance": 0.01035
}

Semantic roles & 50–950 ramp

primary
#3B0217
secondary
#1A7E5A
accent
#FFB029
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090102
muted
#7B7778

Preview Lab

Preview with #3B0217

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

Preview Lab → · Contrast checker → · Palette generator →

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