#2A0917#2A0917

#2A0917 is a very dark, muted pink. Relative luminance 0.007; OKLCH L 20.3% C 0.058 H 357.2°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#2A0917
RGBrgb(42, 9, 23)
HSLhsl(335, 65%, 10%)
HSVhsv(335, 79%, 16%)
CMYKcmyk(0%, 78.6%, 45.2%, 83.5%)
CIE-LABlab(6.77, 18.51, -1.08)
CIE-LCHlch(6.77, 18.54, 356.66°)
OKLaboklab(20.32% 0.0575 -0.0028)
OKLCHoklch(20.32% 0.058 357.2)
XYZxyz(1.2073, 0.7496, 0.8916)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0917 #092A1C
analogous
#2A0928 #2A0917 #2A0B09
triadic
#2A0917 #172A09 #09172A
tetradic
#2A0917 #282A09 #092A1C #0B092A
square
#2A0917 #282A09 #092A1C #0B092A
split-complementary
#2A0917 #092A0B #09282A
monochromatic
#19050E #19050E #2A0917 #5C1433 #8F1F4E

Accessibility & contrast

On white

18.26
#2A0917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2A0917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0917
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0917#FFFFFF#000000##FFFFFF
##2A09171.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1117
Deuteranopia (green-blind)
#181716
Tritanopia (blue-blind)
#2E070F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a0917;
/* rgb */ color: rgb(42, 9, 23);
/* oklch */ color: oklch(20.3% 0.058 357.2);
Tailwind
colors: {
  custom: {
    50: '#654a53',
    500: '#2a0917',
    950: '#000000',
  },
}
SCSS
$custom: #2a0917;
$custom-light: #654a53;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0917",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 23
  },
  "hsl": {
    "h": 334.545,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.20323,
    "c": 0.05752,
    "h": 357.2
  },
  "luminance": 0.00749
}

Semantic roles & 50–950 ramp

primary
#2A0917
secondary
#27684C
accent
#E8A140
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2A0917

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

Preview Lab → · Contrast checker → · Palette generator →

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