#3A0217#3A0217

#3A0217 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.7% C 0.087 H 4.6°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#3A0217
RGBrgb(58, 2, 23)
HSLhsl(338, 93%, 12%)
HSVhsv(338, 97%, 23%)
CMYKcmyk(0%, 96.6%, 60.3%, 77.3%)
CIE-LABlab(9.03, 28.30, 2.66)
CIE-LCHlch(9.03, 28.43, 5.36°)
OKLaboklab(22.72% 0.0867 0.007)
OKLCHoklch(22.72% 0.087 4.6)
XYZxyz(1.9215, 1.0051, 0.9033)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0217 #023A25
analogous
#3A0233 #3A0217 #3A0902
triadic
#3A0217 #173A02 #02173A
tetradic
#3A0217 #333A02 #023A25 #09023A
square
#3A0217 #333A02 #023A25 #09023A
split-complementary
#3A0217 #023A09 #02333A
monochromatic
#1E010C #1E010C #3A0217 #75042E #B00646

Accessibility & contrast

On white

17.49
#3A0217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#3A0217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0217
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0217#FFFFFF#000000##FFFFFF
##3A02171.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a0217;
/* rgb */ color: rgb(58, 2, 23);
/* oklch */ color: oklch(22.7% 0.087 4.6);
Tailwind
colors: {
  custom: {
    50: '#744953',
    500: '#3a0217',
    950: '#000000',
  },
}
SCSS
$custom: #3a0217;
$custom-light: #744953;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0217",
  "rgb": {
    "r": 58,
    "g": 2,
    "b": 23
  },
  "hsl": {
    "h": 337.5,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22718,
    "c": 0.08703,
    "h": 4.6
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#3A0217
secondary
#1A7D58
accent
#FFAF29
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090102
muted
#7B7778

Preview Lab

Preview with #3A0217

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

Preview Lab → · Contrast checker → · Palette generator →

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