#2A021B#2A021B

#2A021B is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.3% C 0.075 H 346.7°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#2A021B
RGBrgb(42, 2, 27)
HSLhsl(323, 91%, 9%)
HSVhsv(323, 95%, 16%)
CMYKcmyk(0%, 95.2%, 35.7%, 83.5%)
CIE-LABlab(5.55, 22.69, -5.99)
CIE-LCHlch(5.55, 23.46, 345.21°)
OKLaboklab(19.32% 0.0732 -0.0172)
OKLCHoklch(19.32% 0.075 346.7)
XYZxyz(1.1744, 0.6149, 1.0935)
Luminance0.0062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A021B #022A11
analogous
#25022A #2A021B #2A0207
triadic
#2A021B #1B2A02 #021B2A
tetradic
#2A021B #2A2502 #022A11 #02072A
square
#2A021B #2A2502 #022A11 #02072A
split-complementary
#2A021B #072A02 #022A25
monochromatic
#1D0113 #1D0113 #2A021B #640541 #9F0866

Accessibility & contrast

On white

18.70
#2A021B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A021B
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A021B#FFFFFF#000000##FFFFFF
##2A021B1.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060E1C
Deuteranopia (green-blind)
#13151A
Tritanopia (blue-blind)
#2E010D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a021b;
/* rgb */ color: rgb(42, 2, 27);
/* oklch */ color: oklch(19.3% 0.075 346.7);
Tailwind
colors: {
  custom: {
    50: '#654757',
    500: '#2a021b',
    950: '#000000',
  },
}
SCSS
$custom: #2a021b;
$custom-light: #654757;
$custom-dark: #000000;
JSON
{
  "hex": "#2a021b",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 27
  },
  "hsl": {
    "h": 322.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19322,
    "c": 0.07521,
    "h": 346.7
  },
  "luminance": 0.00615
}

Semantic roles & 50–950 ramp

primary
#2A021B
secondary
#196F39
accent
#FF7929
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2A021B

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

Preview Lab → · Contrast checker → · Palette generator →

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