#2A1024#2A1024

#2A1024 is a very dark, muted pink. Relative luminance 0.010; OKLCH L 22.2% C 0.053 H 336.7°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#2A1024
RGBrgb(42, 16, 36)
HSLhsl(314, 45%, 11%)
HSVhsv(314, 62%, 16%)
CMYKcmyk(0%, 61.9%, 14.3%, 83.5%)
CIE-LABlab(8.91, 16.88, -7.84)
CIE-LCHlch(8.91, 18.61, 335.09°)
OKLaboklab(22.16% 0.0491 -0.0211)
OKLCHoklch(22.16% 0.053 336.7)
XYZxyz(1.4586, 0.9903, 1.7830)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1024 #102A16
analogous
#23102A #2A1024 #2A1017
triadic
#2A1024 #242A10 #10242A
tetradic
#2A1024 #2A2310 #102A16 #10172A
square
#2A1024 #2A2310 #102A16 #10172A
split-complementary
#2A1024 #172A10 #102A23
monochromatic
#160813 #160813 #2A1024 #56214A #833270

Accessibility & contrast

On white

17.53
#2A1024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2A1024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1024
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1024#FFFFFF#000000##FFFFFF
##2A10241.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101725
Deuteranopia (green-blind)
#181B23
Tritanopia (blue-blind)
#2C1118
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a1024;
/* rgb */ color: rgb(42, 16, 36);
/* oklch */ color: oklch(22.2% 0.053 336.7);
Tailwind
colors: {
  custom: {
    50: '#644f5e',
    500: '#2a1024',
    950: '#000000',
  },
}
SCSS
$custom: #2a1024;
$custom-light: #644f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1024",
  "rgb": {
    "r": 42,
    "g": 16,
    "b": 36
  },
  "hsl": {
    "h": 313.846,
    "s": 44.828,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22161,
    "c": 0.05348,
    "h": 336.7
  },
  "luminance": 0.0099
}

Semantic roles & 50–950 ramp

primary
#2A1024
secondary
#33623E
accent
#D57153
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050204
muted
#7A7879

Preview Lab

Preview with #2A1024

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

Preview Lab → · Contrast checker → · Palette generator →

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