#2A071D#2A071D

#2A071D is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.3% C 0.065 H 345.6°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#2A071D
RGBrgb(42, 7, 29)
HSLhsl(322, 71%, 10%)
HSVhsv(322, 83%, 16%)
CMYKcmyk(0%, 83.3%, 31%, 83.5%)
CIE-LABlab(6.62, 20.60, -5.97)
CIE-LCHlch(6.62, 21.45, 343.84°)
OKLaboklab(20.29% 0.0634 -0.0162)
OKLCHoklch(20.29% 0.065 345.6)
XYZxyz(1.2526, 0.7330, 1.2377)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A071D #072A14
analogous
#26072A #2A071D #2A070B
triadic
#2A071D #1D2A07 #071D2A
tetradic
#2A071D #2A2607 #072A14 #070B2A
square
#2A071D #2A2607 #072A14 #070B2A
split-complementary
#2A071D #0B2A07 #072A26
monochromatic
#1A0412 #1A0412 #2A071D #5E1041 #931865

Accessibility & contrast

On white

18.32
#2A071D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2A071D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A071D
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A071D#FFFFFF#000000##FFFFFF
##2A071D1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B111E
Deuteranopia (green-blind)
#15171C
Tritanopia (blue-blind)
#2D0710
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a071d;
/* rgb */ color: rgb(42, 7, 29);
/* oklch */ color: oklch(20.3% 0.065 345.6);
Tailwind
colors: {
  custom: {
    50: '#654958',
    500: '#2a071d',
    950: '#000000',
  },
}
SCSS
$custom: #2a071d;
$custom-light: #654958;
$custom-dark: #000000;
JSON
{
  "hex": "#2a071d",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 29
  },
  "hsl": {
    "h": 322.286,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20288,
    "c": 0.06543,
    "h": 345.6
  },
  "luminance": 0.00733
}

Semantic roles & 50–950 ramp

primary
#2A071D
secondary
#236A3D
accent
#EE7D3A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2A071D

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

Preview Lab → · Contrast checker → · Palette generator →

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