#2A0122#2A0122

#2A0122 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.6% C 0.083 H 337.3°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#2A0122
RGBrgb(42, 1, 34)
HSLhsl(312, 95%, 8%)
HSVhsv(312, 98%, 16%)
CMYKcmyk(0%, 97.6%, 19%, 83.5%)
CIE-LABlab(5.69, 24.68, -11.27)
CIE-LCHlch(5.69, 27.14, 335.46°)
OKLaboklab(19.58% 0.0765 -0.032)
OKLCHoklch(19.58% 0.083 337.3)
XYZxyz(1.2545, 0.6296, 1.5685)
Luminance0.0063 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0122 #012A09
analogous
#1D012A #2A0122 #2A010D
triadic
#2A0122 #222A01 #01222A
tetradic
#2A0122 #2A1D01 #012A09 #010D2A
square
#2A0122 #2A1D01 #012A09 #010D2A
split-complementary
#2A0122 #0D2A01 #012A1D
monochromatic
#1E0118 #1E0118 #2A0122 #660252 #A20483

Accessibility & contrast

On white

18.65
#2A0122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2A0122 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0122
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0122#FFFFFF#000000##FFFFFF
##2A01221.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020E23
Deuteranopia (green-blind)
#101521
Tritanopia (blue-blind)
#2D0310
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a0122;
/* rgb */ color: rgb(42, 1, 34);
/* oklch */ color: oklch(19.6% 0.083 337.3);
Tailwind
colors: {
  custom: {
    50: '#65465d',
    500: '#2a0122',
    950: '#000000',
  },
}
SCSS
$custom: #2a0122;
$custom-light: #65465d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0122",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 34
  },
  "hsl": {
    "h": 311.707,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.19577,
    "c": 0.08292,
    "h": 337.3
  },
  "luminance": 0.00629
}

Semantic roles & 50–950 ramp

primary
#2A0122
secondary
#167028
accent
#FF5329
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2A0122

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

Preview Lab → · Contrast checker → · Palette generator →

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