#3A0F2A#3A0F2A

#3A0F2A is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.2% C 0.077 H 345.4°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#3A0F2A
RGBrgb(58, 15, 42)
HSLhsl(322, 59%, 14%)
HSVhsv(322, 74%, 23%)
CMYKcmyk(0%, 74.1%, 27.6%, 77.3%)
CIE-LABlab(12.01, 24.57, -7.30)
CIE-LCHlch(12.01, 25.63, 343.46°)
OKLaboklab(25.16% 0.0741 -0.0193)
OKLCHoklch(25.16% 0.077 345.4)
XYZxyz(2.3337, 1.4086, 2.3390)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0F2A #0F3A1F
analogous
#350F3A #3A0F2A #3A0F15
triadic
#3A0F2A #2A3A0F #0F2A3A
tetradic
#3A0F2A #3A350F #0F3A1F #0F153A
square
#3A0F2A #3A350F #0F3A1F #0F153A
split-complementary
#3A0F2A #153A0F #0F3A35
monochromatic
#180612 #180612 #3A0F2A #6B1C4D #9B2870

Accessibility & contrast

On white

16.39
#3A0F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3A0F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0F2A
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0F2A#FFFFFF#000000##FFFFFF
##3A0F2A1.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131B2B
Deuteranopia (green-blind)
#202229
Tritanopia (blue-blind)
#3E0E1A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a0f2a;
/* rgb */ color: rgb(58, 15, 42);
/* oklch */ color: oklch(25.2% 0.077 345.4);
Tailwind
colors: {
  custom: {
    50: '#725163',
    500: '#3a0f2a',
    950: '#000000',
  },
}
SCSS
$custom: #3a0f2a;
$custom-light: #725163;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0f2a",
  "rgb": {
    "r": 58,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 322.326,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25157,
    "c": 0.07654,
    "h": 345.4
  },
  "luminance": 0.01408
}

Semantic roles & 50–950 ramp

primary
#3A0F2A
secondary
#30744A
accent
#E28046
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#080205
muted
#7B7879

Preview Lab

Preview with #3A0F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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