#2A1E28#2A1E28

#2A1E28 is a dark, muted pink. Relative luminance 0.016; OKLCH L 25.4% C 0.026 H 332.1°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#2A1E28
RGBrgb(42, 30, 40)
HSLhsl(310, 17%, 14%)
HSVhsv(310, 29%, 16%)
CMYKcmyk(0%, 28.6%, 4.8%, 83.5%)
CIE-LABlab(13.07, 8.02, -4.48)
CIE-LCHlch(13.07, 9.19, 330.80°)
OKLaboklab(25.37% 0.0226 -0.012)
OKLCHoklch(25.37% 0.026 332.1)
XYZxyz(1.8021, 1.5740, 2.2160)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1E28 #1E2A20
analogous
#261E2A #2A1E28 #2A1E22
triadic
#2A1E28 #282A1E #1E282A
tetradic
#2A1E28 #2A261E #1E2A20 #1E222A
square
#2A1E28 #2A261E #1E2A20 #1E222A
split-complementary
#2A1E28 #222A1E #1E2A26
monochromatic
#120D11 #120D11 #2A1E28 #4E384A #71516C

Accessibility & contrast

On white

15.97
#2A1E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2A1E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1E28
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1E28#FFFFFF#000000##FFFFFF
##2A1E281.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2128
Deuteranopia (green-blind)
#212228
Tritanopia (blue-blind)
#2B1F21
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2a1e28;
/* rgb */ color: rgb(42, 30, 40);
/* oklch */ color: oklch(25.4% 0.026 332.1);
Tailwind
colors: {
  custom: {
    50: '#635961',
    500: '#2a1e28',
    950: '#000000',
  },
}
SCSS
$custom: #2a1e28;
$custom-light: #635961;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1e28",
  "rgb": {
    "r": 42,
    "g": 30,
    "b": 40
  },
  "hsl": {
    "h": 310,
    "s": 16.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25373,
    "c": 0.0256,
    "h": 332.1
  },
  "luminance": 0.01574
}

Semantic roles & 50–950 ramp

primary
#2A1E28
secondary
#485B4C
accent
#B97B6E
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050305
muted
#797879

Preview Lab

Preview with #2A1E28

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

Preview Lab → · Contrast checker → · Palette generator →

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