#2A0121#2A0121

#2A0121 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.5% C 0.082 H 338.5°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#2A0121
RGBrgb(42, 1, 33)
HSLhsl(313, 95%, 8%)
HSVhsv(313, 98%, 16%)
CMYKcmyk(0%, 97.6%, 21.4%, 83.5%)
CIE-LABlab(5.64, 24.45, -10.57)
CIE-LCHlch(5.64, 26.64, 336.62°)
OKLaboklab(19.51% 0.0764 -0.0301)
OKLCHoklch(19.51% 0.082 338.5)
XYZxyz(1.2402, 0.6239, 1.4937)
Luminance0.0062 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0121 #012A0A
analogous
#1E012A #2A0121 #2A010C
triadic
#2A0121 #212A01 #01212A
tetradic
#2A0121 #2A1E01 #012A0A #010C2A
square
#2A0121 #2A1E01 #012A0A #010C2A
split-complementary
#2A0121 #0C2A01 #012A1E
monochromatic
#1E0117 #1E0117 #2A0121 #660250 #A2047F

Accessibility & contrast

On white

18.67
#2A0121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2A0121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0121
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0121#FFFFFF#000000##FFFFFF
##2A01211.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020E22
Deuteranopia (green-blind)
#101520
Tritanopia (blue-blind)
#2D020F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a0121;
/* rgb */ color: rgb(42, 1, 33);
/* oklch */ color: oklch(19.5% 0.082 338.5);
Tailwind
colors: {
  custom: {
    50: '#65465c',
    500: '#2a0121',
    950: '#000000',
  },
}
SCSS
$custom: #2a0121;
$custom-light: #65465c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0121",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 33
  },
  "hsl": {
    "h": 313.171,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.1951,
    "c": 0.08213,
    "h": 338.5
  },
  "luminance": 0.00624
}

Semantic roles & 50–950 ramp

primary
#2A0121
secondary
#16702A
accent
#FF5829
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2A0121

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

Preview Lab → · Contrast checker → · Palette generator →

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