#3D1228#3D1228

#3D1228 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.0% C 0.073 H 351.6°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#3D1228
RGBrgb(61, 18, 40)
HSLhsl(329, 54%, 15%)
HSVhsv(329, 70%, 24%)
CMYKcmyk(0%, 70.5%, 34.4%, 76.1%)
CIE-LABlab(13.10, 23.75, -4.13)
CIE-LCHlch(13.10, 24.11, 350.13°)
OKLaboklab(26.04% 0.0722 -0.0107)
OKLCHoklch(26.04% 0.073 351.6)
XYZxyz(2.5239, 1.5782, 2.1788)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1228 #123D27
analogous
#3C123D #3D1228 #3D1213
triadic
#3D1228 #283D12 #12283D
tetradic
#3D1228 #3D3C12 #123D27 #12133D
square
#3D1228 #3D3C12 #123D27 #12133D
split-complementary
#3D1228 #133D12 #123D3C
monochromatic
#18070F #18070F #3D1228 #6C2047 #9C2E66

Accessibility & contrast

On white

15.96
#3D1228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3D1228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1228
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1228#FFFFFF#000000##FFFFFF
##3D12281.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181D29
Deuteranopia (green-blind)
#242527
Tritanopia (blue-blind)
#42101B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3d1228;
/* rgb */ color: rgb(61, 18, 40);
/* oklch */ color: oklch(26.0% 0.073 351.6);
Tailwind
colors: {
  custom: {
    50: '#755361',
    500: '#3d1228',
    950: '#000000',
  },
}
SCSS
$custom: #3d1228;
$custom-light: #755361;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1228",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 329.302,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26041,
    "c": 0.073,
    "h": 351.6
  },
  "luminance": 0.01578
}

Semantic roles & 50–950 ramp

primary
#3D1228
secondary
#357655
accent
#DE924A
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#080205
muted
#7B7879

Preview Lab

Preview with #3D1228

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

Preview Lab → · Contrast checker → · Palette generator →

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