#2A0221#2A0221

#2A0221 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.7% C 0.080 H 338.7°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#2A0221
RGBrgb(42, 2, 33)
HSLhsl(314, 91%, 9%)
HSVhsv(314, 95%, 16%)
CMYKcmyk(0%, 95.2%, 21.4%, 83.5%)
CIE-LABlab(5.83, 23.95, -10.28)
CIE-LCHlch(5.83, 26.06, 336.78°)
OKLaboklab(19.68% 0.0743 -0.029)
OKLCHoklch(19.68% 0.08 338.7)
XYZxyz(1.2511, 0.6456, 1.4973)
Luminance0.0065 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0221 #022A0B
analogous
#1F022A #2A0221 #2A020D
triadic
#2A0221 #212A02 #02212A
tetradic
#2A0221 #2A1F02 #022A0B #020D2A
square
#2A0221 #2A1F02 #022A0B #020D2A
split-complementary
#2A0221 #0D2A02 #022A1F
monochromatic
#1D0117 #1D0117 #2A0221 #64054F #9F087D

Accessibility & contrast

On white

18.60
#2A0221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0221
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0221#FFFFFF#000000##FFFFFF
##2A02211.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030F22
Deuteranopia (green-blind)
#111520
Tritanopia (blue-blind)
#2D0310
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a0221;
/* rgb */ color: rgb(42, 2, 33);
/* oklch */ color: oklch(19.7% 0.080 338.7);
Tailwind
colors: {
  custom: {
    50: '#65475c',
    500: '#2a0221',
    950: '#000000',
  },
}
SCSS
$custom: #2a0221;
$custom-light: #65475c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0221",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 313.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19685,
    "c": 0.07972,
    "h": 338.7
  },
  "luminance": 0.00645
}

Semantic roles & 50–950 ramp

primary
#2A0221
secondary
#196F2C
accent
#FF5929
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2A0221

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

Preview Lab → · Contrast checker → · Palette generator →

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