#2A0220#2A0220

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

Color values

HEX#2A0220
RGBrgb(42, 2, 32)
HSLhsl(315, 91%, 9%)
HSVhsv(315, 95%, 16%)
CMYKcmyk(0%, 95.2%, 23.8%, 83.5%)
CIE-LABlab(5.78, 23.73, -9.57)
CIE-LCHlch(5.78, 25.59, 338.03°)
OKLaboklab(19.62% 0.0741 -0.027)
OKLCHoklch(19.62% 0.079 340)
XYZxyz(1.2373, 0.6401, 1.4246)
Luminance0.0064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0220 #022A0C
analogous
#20022A #2A0220 #2A020C
triadic
#2A0220 #202A02 #02202A
tetradic
#2A0220 #2A2002 #022A0C #020C2A
square
#2A0220 #2A2002 #022A0C #020C2A
split-complementary
#2A0220 #0C2A02 #022A20
monochromatic
#1D0116 #1D0116 #2A0220 #64054D #9F0879

Accessibility & contrast

On white

18.62
#2A0220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0220
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0220#FFFFFF#000000##FFFFFF
##2A02201.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040E21
Deuteranopia (green-blind)
#11151F
Tritanopia (blue-blind)
#2D030F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a0220;
/* rgb */ color: rgb(42, 2, 32);
/* oklch */ color: oklch(19.6% 0.079 340.0);
Tailwind
colors: {
  custom: {
    50: '#65475b',
    500: '#2a0220',
    950: '#000000',
  },
}
SCSS
$custom: #2a0220;
$custom-light: #65475b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0220",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 32
  },
  "hsl": {
    "h": 315,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19621,
    "c": 0.07892,
    "h": 340
  },
  "luminance": 0.0064
}

Semantic roles & 50–950 ramp

primary
#2A0220
secondary
#196F2E
accent
#FF5E29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2A0220

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

Preview Lab → · Contrast checker → · Palette generator →

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