#3D0C27#3D0C27

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

Color values

HEX#3D0C27
RGBrgb(61, 12, 39)
HSLhsl(327, 67%, 14%)
HSVhsv(327, 80%, 24%)
CMYKcmyk(0%, 80.3%, 36.1%, 76.1%)
CIE-LABlab(11.97, 26.58, -5.09)
CIE-LCHlch(11.97, 27.06, 349.17°)
OKLaboklab(25.2% 0.0811 -0.0132)
OKLCHoklch(25.2% 0.082 350.7)
XYZxyz(2.4223, 1.4018, 2.0621)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C27 #0C3D22
analogous
#3B0C3D #3D0C27 #3D0C0F
triadic
#3D0C27 #273D0C #0C273D
tetradic
#3D0C27 #3D3B0C #0C3D22 #0C0F3D
square
#3D0C27 #3D3B0C #0C3D22 #0C0F3D
split-complementary
#3D0C27 #0F3D0C #0C3D3B
monochromatic
#1A0510 #1A0510 #3D0C27 #701648 #A32068

Accessibility & contrast

On white

16.40
#3D0C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0C27
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C27#FFFFFF#000000##FFFFFF
##3D0C271.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141A28
Deuteranopia (green-blind)
#222326
Tritanopia (blue-blind)
#420918
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3d0c27;
/* rgb */ color: rgb(61, 12, 39);
/* oklch */ color: oklch(25.2% 0.082 350.7);
Tailwind
colors: {
  custom: {
    50: '#754f61',
    500: '#3d0c27',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c27;
$custom-light: #754f61;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c27",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 326.939,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25196,
    "c": 0.08221,
    "h": 350.7
  },
  "luminance": 0.01402
}

Semantic roles & 50–950 ramp

primary
#3D0C27
secondary
#2C794E
accent
#EA8B3E
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090205
muted
#7B7879

Preview Lab

Preview with #3D0C27

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

Preview Lab → · Contrast checker → · Palette generator →

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