#2A0722#2A0722

#2A0722 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.6% C 0.070 H 338.1°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#2A0722
RGBrgb(42, 7, 34)
HSLhsl(314, 71%, 10%)
HSVhsv(314, 83%, 16%)
CMYKcmyk(0%, 83.3%, 19%, 83.5%)
CIE-LABlab(6.86, 21.62, -9.47)
CIE-LCHlch(6.86, 23.61, 336.35°)
OKLaboklab(20.58% 0.0646 -0.0259)
OKLCHoklch(20.58% 0.07 338.1)
XYZxyz(1.3196, 0.7598, 1.5902)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0722 #072A0F
analogous
#21072A #2A0722 #2A0711
triadic
#2A0722 #222A07 #07222A
tetradic
#2A0722 #2A2107 #072A0F #07112A
square
#2A0722 #2A2107 #072A0F #07112A
split-complementary
#2A0722 #112A07 #072A21
monochromatic
#1A0415 #1A0415 #2A0722 #5E104C #931877

Accessibility & contrast

On white

18.23
#2A0722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0722
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0722#FFFFFF#000000##FFFFFF
##2A07221.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081223
Deuteranopia (green-blind)
#131721
Tritanopia (blue-blind)
#2D0813
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a0722;
/* rgb */ color: rgb(42, 7, 34);
/* oklch */ color: oklch(20.6% 0.070 338.1);
Tailwind
colors: {
  custom: {
    50: '#654a5d',
    500: '#2a0722',
    950: '#000000',
  },
}
SCSS
$custom: #2a0722;
$custom-light: #654a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0722",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 34
  },
  "hsl": {
    "h": 313.714,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20575,
    "c": 0.0696,
    "h": 338.1
  },
  "luminance": 0.0076
}

Semantic roles & 50–950 ramp

primary
#2A0722
secondary
#236A33
accent
#EE633A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2A0722

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

Preview Lab → · Contrast checker → · Palette generator →

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