#2D1028#2D1028

#2D1028 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.9% C 0.061 H 334.4°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#2D1028
RGBrgb(45, 16, 40)
HSLhsl(310, 48%, 12%)
HSVhsv(310, 64%, 18%)
CMYKcmyk(0%, 64.4%, 11.1%, 82.4%)
CIE-LABlab(9.66, 18.90, -9.65)
CIE-LCHlch(9.66, 21.22, 332.95°)
OKLaboklab(22.89% 0.0546 -0.0262)
OKLCHoklch(22.89% 0.061 334.4)
XYZxyz(1.6505, 1.0818, 2.1289)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1028 #102D15
analogous
#24102D #2D1028 #2D101A
triadic
#2D1028 #282D10 #10282D
tetradic
#2D1028 #2D2410 #102D15 #101A2D
square
#2D1028 #2D2410 #102D15 #101A2D
split-complementary
#2D1028 #1A2D10 #102D24
monochromatic
#170814 #170814 #2D1028 #5A2050 #873078

Accessibility & contrast

On white

17.26
#2D1028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2D1028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1028
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1028#FFFFFF#000000##FFFFFF
##2D10281.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101829
Deuteranopia (green-blind)
#181C27
Tritanopia (blue-blind)
#2F121A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d1028;
/* rgb */ color: rgb(45, 16, 40);
/* oklch */ color: oklch(22.9% 0.061 334.4);
Tailwind
colors: {
  custom: {
    50: '#674f62',
    500: '#2d1028',
    950: '#000000',
  },
}
SCSS
$custom: #2d1028;
$custom-light: #674f62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1028",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 40
  },
  "hsl": {
    "h": 310.345,
    "s": 47.541,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22893,
    "c": 0.06051,
    "h": 334.4
  },
  "luminance": 0.01082
}

Semantic roles & 50–950 ramp

primary
#2D1028
secondary
#33663C
accent
#D76851
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2D1028

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

Preview Lab → · Contrast checker → · Palette generator →

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