#2A0D18#2A0D18

#2A0D18 is a very dark, muted pink. Relative luminance 0.008; OKLCH L 21.0% C 0.050 H 358.5°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#2A0D18
RGBrgb(42, 13, 24)
HSLhsl(337, 53%, 11%)
HSVhsv(337, 69%, 16%)
CMYKcmyk(0%, 69%, 42.9%, 83.5%)
CIE-LABlab(7.64, 16.54, -0.56)
CIE-LCHlch(7.64, 16.55, 358.05°)
OKLaboklab(21.03% 0.0504 -0.0013)
OKLCHoklch(21.03% 0.05 358.5)
XYZxyz(1.2637, 0.8462, 0.9607)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0D18 #0D2A1F
analogous
#2A0D26 #2A0D18 #2A100D
triadic
#2A0D18 #182A0D #0D182A
tetradic
#2A0D18 #262A0D #0D2A1F #100D2A
square
#2A0D18 #262A0D #0D2A1F #100D2A
split-complementary
#2A0D18 #0D2A10 #0D262A
monochromatic
#17070D #17070D #2A0D18 #591B33 #872A4D

Accessibility & contrast

On white

17.96
#2A0D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2A0D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0D18
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0D18#FFFFFF#000000##FFFFFF
##2A0D181.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121318
Deuteranopia (green-blind)
#191917
Tritanopia (blue-blind)
#2E0B11
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a0d18;
/* rgb */ color: rgb(42, 13, 24);
/* oklch */ color: oklch(21.0% 0.050 358.5);
Tailwind
colors: {
  custom: {
    50: '#654d54',
    500: '#2a0d18',
    950: '#000000',
  },
}
SCSS
$custom: #2a0d18;
$custom-light: #654d54;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0d18",
  "rgb": {
    "r": 42,
    "g": 13,
    "b": 24
  },
  "hsl": {
    "h": 337.241,
    "s": 52.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21033,
    "c": 0.05044,
    "h": 358.5
  },
  "luminance": 0.00846
}

Semantic roles & 50–950 ramp

primary
#2A0D18
secondary
#2E6450
accent
#DCA54C
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2A0D18

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

Preview Lab → · Contrast checker → · Palette generator →

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