#2A2028#2A2028

#2A2028 is a dark, muted pink. Relative luminance 0.017; OKLCH L 25.9% C 0.021 H 333.1°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#2A2028
RGBrgb(42, 32, 40)
HSLhsl(312, 14%, 15%)
HSVhsv(312, 24%, 16%)
CMYKcmyk(0%, 23.8%, 4.8%, 83.5%)
CIE-LABlab(13.70, 6.58, -3.54)
CIE-LCHlch(13.70, 7.47, 331.73°)
OKLaboklab(25.86% 0.0186 -0.0094)
OKLCHoklch(25.86% 0.021 333.1)
XYZxyz(1.8543, 1.6785, 2.2334)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2028 #202A22
analogous
#27202A #2A2028 #2A2023
triadic
#2A2028 #282A20 #20282A
tetradic
#2A2028 #2A2720 #202A22 #20232A
square
#2A2028 #2A2720 #202A22 #20232A
split-complementary
#2A2028 #232A20 #202A27
monochromatic
#110D11 #110D11 #2A2028 #4D3A49 #6F556A

Accessibility & contrast

On white

15.72
#2A2028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2A2028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2028
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2028#FFFFFF#000000##FFFFFF
##2A20281.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202228
Deuteranopia (green-blind)
#222328
Tritanopia (blue-blind)
#2B2023
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2a2028;
/* rgb */ color: rgb(42, 32, 40);
/* oklch */ color: oklch(25.9% 0.021 333.1);
Tailwind
colors: {
  custom: {
    50: '#635b61',
    500: '#2a2028',
    950: '#000000',
  },
}
SCSS
$custom: #2a2028;
$custom-light: #635b61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2028",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 40
  },
  "hsl": {
    "h": 312,
    "s": 13.514,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25858,
    "c": 0.02085,
    "h": 333.1
  },
  "luminance": 0.01678
}

Semantic roles & 50–950 ramp

primary
#2A2028
secondary
#4B5B4E
accent
#B67F71
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050405
muted
#797979

Preview Lab

Preview with #2A2028

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

Preview Lab → · Contrast checker → · Palette generator →

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