#3A0F2D#3A0F2D

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

Color values

HEX#3A0F2D
RGBrgb(58, 15, 45)
HSLhsl(318, 59%, 14%)
HSVhsv(318, 74%, 23%)
CMYKcmyk(0%, 74.1%, 22.4%, 77.3%)
CIE-LABlab(12.16, 25.09, -9.28)
CIE-LCHlch(12.16, 26.75, 339.71°)
OKLaboklab(25.31% 0.0749 -0.0249)
OKLCHoklch(25.31% 0.079 341.6)
XYZxyz(2.3895, 1.4309, 2.6325)
Luminance0.0143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0F2D #0F3A1C
analogous
#320F3A #3A0F2D #3A0F18
triadic
#3A0F2D #2D3A0F #0F2D3A
tetradic
#3A0F2D #3A320F #0F3A1C #0F183A
square
#3A0F2D #3A320F #0F3A1C #0F183A
split-complementary
#3A0F2D #183A0F #0F3A32
monochromatic
#180613 #180613 #3A0F2D #6B1C53 #9B2878

Accessibility & contrast

On white

16.33
#3A0F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0F2D
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0F2D#FFFFFF#000000##FFFFFF
##3A0F2D1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121B2E
Deuteranopia (green-blind)
#1F222C
Tritanopia (blue-blind)
#3E101C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a0f2d;
/* rgb */ color: rgb(58, 15, 45);
/* oklch */ color: oklch(25.3% 0.079 341.6);
Tailwind
colors: {
  custom: {
    50: '#725166',
    500: '#3a0f2d',
    950: '#000000',
  },
}
SCSS
$custom: #3a0f2d;
$custom-light: #725166;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0f2d",
  "rgb": {
    "r": 58,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 318.14,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25313,
    "c": 0.07888,
    "h": 341.6
  },
  "luminance": 0.01431
}

Semantic roles & 50–950 ramp

primary
#3A0F2D
secondary
#307445
accent
#E27546
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080205
muted
#7B787A

Preview Lab

Preview with #3A0F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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