#2D1027#2D1027

#2D1027 is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.8% C 0.059 H 335.9°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#2D1027
RGBrgb(45, 16, 39)
HSLhsl(312, 48%, 12%)
HSVhsv(312, 64%, 18%)
CMYKcmyk(0%, 64.4%, 13.3%, 82.4%)
CIE-LABlab(9.60, 18.68, -8.98)
CIE-LCHlch(9.60, 20.73, 334.32°)
OKLaboklab(22.84% 0.0543 -0.0243)
OKLCHoklch(22.84% 0.059 335.9)
XYZxyz(1.6337, 1.0751, 2.0405)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1027 #102D16
analogous
#25102D #2D1027 #2D1019
triadic
#2D1027 #272D10 #10272D
tetradic
#2D1027 #2D2510 #102D16 #10192D
square
#2D1027 #2D2510 #102D16 #10192D
split-complementary
#2D1027 #192D10 #102D25
monochromatic
#170814 #170814 #2D1027 #5A204E #873075

Accessibility & contrast

On white

17.28
#2D1027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2D1027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1027
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1027#FFFFFF#000000##FFFFFF
##2D10271.0017.281.2117.28
#FFFFFF17.281.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101828
Deuteranopia (green-blind)
#191C26
Tritanopia (blue-blind)
#2F1119
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d1027;
/* rgb */ color: rgb(45, 16, 39);
/* oklch */ color: oklch(22.8% 0.059 335.9);
Tailwind
colors: {
  custom: {
    50: '#674f61',
    500: '#2d1027',
    950: '#000000',
  },
}
SCSS
$custom: #2d1027;
$custom-light: #674f61;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1027",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 312.414,
    "s": 47.541,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22836,
    "c": 0.05948,
    "h": 335.9
  },
  "luminance": 0.01075
}

Semantic roles & 50–950 ramp

primary
#2D1027
secondary
#33663D
accent
#D76C51
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060205
muted
#7A7879

Preview Lab

Preview with #2D1027

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

Preview Lab → · Contrast checker → · Palette generator →

#2D1027 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva