#3A0F2F#3A0F2F

#3A0F2F is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.4% C 0.081 H 339.2°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#3A0F2F
RGBrgb(58, 15, 47)
HSLhsl(315, 59%, 14%)
HSVhsv(315, 74%, 23%)
CMYKcmyk(0%, 74.1%, 19%, 77.3%)
CIE-LABlab(12.26, 25.44, -10.58)
CIE-LCHlch(12.26, 27.56, 337.42°)
OKLaboklab(25.42% 0.0753 -0.0285)
OKLCHoklch(25.42% 0.081 339.2)
XYZxyz(2.4289, 1.4466, 2.8401)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0F2F #0F3A1A
analogous
#300F3A #3A0F2F #3A0F1A
triadic
#3A0F2F #2F3A0F #0F2F3A
tetradic
#3A0F2F #3A300F #0F3A1A #0F1A3A
square
#3A0F2F #3A300F #0F3A1A #0F1A3A
split-complementary
#3A0F2F #1A3A0F #0F3A30
monochromatic
#180614 #180614 #3A0F2F #6B1C56 #9B287E

Accessibility & contrast

On white

16.29
#3A0F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3A0F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0F2F
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0F2F#FFFFFF#000000##FFFFFF
##3A0F2F1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111C30
Deuteranopia (green-blind)
#1E232E
Tritanopia (blue-blind)
#3E101D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a0f2f;
/* rgb */ color: rgb(58, 15, 47);
/* oklch */ color: oklch(25.4% 0.081 339.2);
Tailwind
colors: {
  custom: {
    50: '#725167',
    500: '#3a0f2f',
    950: '#000000',
  },
}
SCSS
$custom: #3a0f2f;
$custom-light: #725167;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0f2f",
  "rgb": {
    "r": 58,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 315.349,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25422,
    "c": 0.08056,
    "h": 339.2
  },
  "luminance": 0.01446
}

Semantic roles & 50–950 ramp

primary
#3A0F2F
secondary
#307442
accent
#E26E46
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3A0F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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