#2A0222#2A0222

#2A0222 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.8% C 0.081 H 337.4°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#2A0222
RGBrgb(42, 2, 34)
HSLhsl(312, 91%, 9%)
HSVhsv(312, 95%, 16%)
CMYKcmyk(0%, 95.2%, 19%, 83.5%)
CIE-LABlab(5.88, 24.18, -10.97)
CIE-LCHlch(5.88, 26.55, 335.59°)
OKLaboklab(19.75% 0.0744 -0.0309)
OKLCHoklch(19.75% 0.081 337.4)
XYZxyz(1.2653, 0.6513, 1.5721)
Luminance0.0065 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0222 #022A0A
analogous
#1E022A #2A0222 #2A020E
triadic
#2A0222 #222A02 #02222A
tetradic
#2A0222 #2A1E02 #022A0A #020E2A
square
#2A0222 #2A1E02 #022A0A #020E2A
split-complementary
#2A0222 #0E2A02 #022A1E
monochromatic
#1D0118 #1D0118 #2A0222 #640551 #9F0881

Accessibility & contrast

On white

18.58
#2A0222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0222
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0222#FFFFFF#000000##FFFFFF
##2A02221.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030F23
Deuteranopia (green-blind)
#101521
Tritanopia (blue-blind)
#2D0410
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a0222;
/* rgb */ color: rgb(42, 2, 34);
/* oklch */ color: oklch(19.8% 0.081 337.4);
Tailwind
colors: {
  custom: {
    50: '#65475d',
    500: '#2a0222',
    950: '#000000',
  },
}
SCSS
$custom: #2a0222;
$custom-light: #65475d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0222",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 34
  },
  "hsl": {
    "h": 312,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19751,
    "c": 0.08053,
    "h": 337.4
  },
  "luminance": 0.00651
}

Semantic roles & 50–950 ramp

primary
#2A0222
secondary
#196F2A
accent
#FF5429
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2A0222

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

Preview Lab → · Contrast checker → · Palette generator →

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