#3A0C2D#3A0C2D

#3A0C2D is a very dark, moderate pink. Relative luminance 0.014; OKLCH L 24.9% C 0.084 H 341.1°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#3A0C2D
RGBrgb(58, 12, 45)
HSLhsl(317, 66%, 14%)
HSVhsv(317, 79%, 23%)
CMYKcmyk(0%, 79.3%, 22.4%, 77.3%)
CIE-LABlab(11.64, 26.54, -10.09)
CIE-LCHlch(11.64, 28.40, 339.19°)
OKLaboklab(24.93% 0.0793 -0.0271)
OKLCHoklch(24.93% 0.084 341.1)
XYZxyz(2.3501, 1.3522, 2.6193)
Luminance0.0135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0C2D #0C3A19
analogous
#300C3A #3A0C2D #3A0C16
triadic
#3A0C2D #2D3A0C #0C2D3A
tetradic
#3A0C2D #3A300C #0C3A19 #0C163A
square
#3A0C2D #3A300C #0C3A19 #0C163A
split-complementary
#3A0C2D #163A0C #0C3A30
monochromatic
#190514 #190514 #3A0C2D #6D1654 #9F217C

Accessibility & contrast

On white

16.53
#3A0C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0C2D
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0C2D#FFFFFF#000000##FFFFFF
##3A0C2D1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1A2E
Deuteranopia (green-blind)
#1E212C
Tritanopia (blue-blind)
#3E0D1B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a0c2d;
/* rgb */ color: rgb(58, 12, 45);
/* oklch */ color: oklch(24.9% 0.084 341.1);
Tailwind
colors: {
  custom: {
    50: '#724f66',
    500: '#3a0c2d',
    950: '#000000',
  },
}
SCSS
$custom: #3a0c2d;
$custom-light: #724f66;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0c2d",
  "rgb": {
    "r": 58,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 316.957,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24929,
    "c": 0.08378,
    "h": 341.1
  },
  "luminance": 0.01352
}

Semantic roles & 50–950 ramp

primary
#3A0C2D
secondary
#2C7641
accent
#E96F3F
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080205
muted
#7B787A

Preview Lab

Preview with #3A0C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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