#2D262A#2D262A

#2D262A is a dark, near-neutral pink. Relative luminance 0.021; OKLCH L 27.8% C 0.013 H 342.6°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#2D262A
RGBrgb(45, 38, 42)
HSLhsl(326, 8%, 16%)
HSVhsv(326, 16%, 18%)
CMYKcmyk(0%, 15.6%, 6.7%, 82.4%)
CIE-LABlab(16.06, 4.15, -1.43)
CIE-LCHlch(16.06, 4.39, 341.00°)
OKLaboklab(27.8% 0.012 -0.0037)
OKLCHoklch(27.8% 0.013 342.6)
XYZxyz(2.1932, 2.1113, 2.4820)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D262A #262D29
analogous
#2D262D #2D262A #2D2627
triadic
#2D262A #2A2D26 #262A2D
tetradic
#2D262A #2D2D26 #262D29 #26272D
square
#2D262A #2D2D26 #262D29 #26272D
split-complementary
#2D262A #272D26 #262D2D
monochromatic
#110E0F #110E0F #2D262A #4E4249 #6F5E68

Accessibility & contrast

On white

14.77
#2D262A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2D262A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D262A
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D262A#FFFFFF#000000##FFFFFF
##2D262A1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26272A
Deuteranopia (green-blind)
#28282A
Tritanopia (blue-blind)
#2E2627
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d262a;
/* rgb */ color: rgb(45, 38, 42);
/* oklch */ color: oklch(27.8% 0.013 342.6);
Tailwind
colors: {
  custom: {
    50: '#656063',
    500: '#2d262a',
    950: '#000000',
  },
}
SCSS
$custom: #2d262a;
$custom-light: #656063;
$custom-dark: #000000;
JSON
{
  "hex": "#2d262a",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 42
  },
  "hsl": {
    "h": 325.714,
    "s": 8.434,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27797,
    "c": 0.01255,
    "h": 342.6
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#2D262A
secondary
#525D57
accent
#B19076
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#050405
muted
#7A7979

Preview Lab

Preview with #2D262A

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

Preview Lab → · Contrast checker → · Palette generator →

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