#3A0F2C#3A0F2C

#3A0F2C is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.3% C 0.078 H 342.8°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#3A0F2C
RGBrgb(58, 15, 44)
HSLhsl(320, 59%, 14%)
HSVhsv(320, 74%, 23%)
CMYKcmyk(0%, 74.1%, 24.1%, 77.3%)
CIE-LABlab(12.11, 24.91, -8.62)
CIE-LCHlch(12.11, 26.36, 340.91°)
OKLaboklab(25.26% 0.0746 -0.023)
OKLCHoklch(25.26% 0.078 342.8)
XYZxyz(2.3704, 1.4233, 2.5323)
Luminance0.0142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0F2C #0F3A1D
analogous
#330F3A #3A0F2C #3A0F17
triadic
#3A0F2C #2C3A0F #0F2C3A
tetradic
#3A0F2C #3A330F #0F3A1D #0F173A
square
#3A0F2C #3A330F #0F3A1D #0F173A
split-complementary
#3A0F2C #173A0F #0F3A33
monochromatic
#180612 #180612 #3A0F2C #6B1C51 #9B2876

Accessibility & contrast

On white

16.35
#3A0F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0F2C
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0F2C#FFFFFF#000000##FFFFFF
##3A0F2C1.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131B2D
Deuteranopia (green-blind)
#1F222B
Tritanopia (blue-blind)
#3E0F1B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a0f2c;
/* rgb */ color: rgb(58, 15, 44);
/* oklch */ color: oklch(25.3% 0.078 342.8);
Tailwind
colors: {
  custom: {
    50: '#725165',
    500: '#3a0f2c',
    950: '#000000',
  },
}
SCSS
$custom: #3a0f2c;
$custom-light: #725165;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0f2c",
  "rgb": {
    "r": 58,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 319.535,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2526,
    "c": 0.07807,
    "h": 342.8
  },
  "luminance": 0.01423
}

Semantic roles & 50–950 ramp

primary
#3A0F2C
secondary
#307447
accent
#E27946
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080205
muted
#7B787A

Preview Lab

Preview with #3A0F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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