#2A0822#2A0822

#2A0822 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.7% C 0.068 H 338.3°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#2A0822
RGBrgb(42, 8, 34)
HSLhsl(314, 68%, 10%)
HSVhsv(314, 81%, 16%)
CMYKcmyk(0%, 81%, 19%, 83.5%)
CIE-LABlab(7.06, 21.11, -9.17)
CIE-LCHlch(7.06, 23.01, 336.52°)
OKLaboklab(20.73% 0.0628 -0.025)
OKLCHoklch(20.73% 0.068 338.3)
XYZxyz(1.3304, 0.7815, 1.5938)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0822 #082A10
analogous
#21082A #2A0822 #2A0811
triadic
#2A0822 #222A08 #08222A
tetradic
#2A0822 #2A2108 #082A10 #08112A
square
#2A0822 #2A2108 #082A10 #08112A
split-complementary
#2A0822 #112A08 #082A21
monochromatic
#1A0515 #1A0515 #2A0822 #5D124C #911C75

Accessibility & contrast

On white

18.16
#2A0822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0822
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0822#FFFFFF#000000##FFFFFF
##2A08221.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091223
Deuteranopia (green-blind)
#141821
Tritanopia (blue-blind)
#2D0913
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2a0822;
/* rgb */ color: rgb(42, 8, 34);
/* oklch */ color: oklch(20.7% 0.068 338.3);
Tailwind
colors: {
  custom: {
    50: '#654a5d',
    500: '#2a0822',
    950: '#000000',
  },
}
SCSS
$custom: #2a0822;
$custom-light: #654a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0822",
  "rgb": {
    "r": 42,
    "g": 8,
    "b": 34
  },
  "hsl": {
    "h": 314.118,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20732,
    "c": 0.0676,
    "h": 338.3
  },
  "luminance": 0.00781
}

Semantic roles & 50–950 ramp

primary
#2A0822
secondary
#256935
accent
#EB663D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2A0822

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

Preview Lab → · Contrast checker → · Palette generator →

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