#2A0824#2A0824

#2A0824 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.9% C 0.069 H 335.5°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#2A0824
RGBrgb(42, 8, 36)
HSLhsl(311, 68%, 10%)
HSVhsv(311, 81%, 16%)
CMYKcmyk(0%, 81%, 14.3%, 83.5%)
CIE-LABlab(7.17, 21.53, -10.53)
CIE-LCHlch(7.17, 23.97, 333.94°)
OKLaboklab(20.85% 0.0632 -0.0288)
OKLCHoklch(20.85% 0.069 335.5)
XYZxyz(1.3601, 0.7934, 1.7502)
Luminance0.0079 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0824 #082A0E
analogous
#1F082A #2A0824 #2A0813
triadic
#2A0824 #242A08 #08242A
tetradic
#2A0824 #2A1F08 #082A0E #08132A
square
#2A0824 #2A1F08 #082A0E #08132A
split-complementary
#2A0824 #132A08 #082A1F
monochromatic
#1A0516 #1A0516 #2A0824 #5D1250 #911C7C

Accessibility & contrast

On white

18.13
#2A0824 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2A0824 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0824
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0824#FFFFFF#000000##FFFFFF
##2A08241.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081325
Deuteranopia (green-blind)
#131823
Tritanopia (blue-blind)
#2D0A14
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2a0824;
/* rgb */ color: rgb(42, 8, 36);
/* oklch */ color: oklch(20.9% 0.069 335.5);
Tailwind
colors: {
  custom: {
    50: '#654a5e',
    500: '#2a0824',
    950: '#000000',
  },
}
SCSS
$custom: #2a0824;
$custom-light: #654a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0824",
  "rgb": {
    "r": 42,
    "g": 8,
    "b": 36
  },
  "hsl": {
    "h": 310.588,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20854,
    "c": 0.06945,
    "h": 335.5
  },
  "luminance": 0.00793
}

Semantic roles & 50–950 ramp

primary
#2A0824
secondary
#256931
accent
#EB5C3D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2A0824

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

Preview Lab → · Contrast checker → · Palette generator →

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