#2A0712#2A0712

#2A0712 is a very dark, muted pink. Relative luminance 0.007; OKLCH L 19.8% C 0.059 H 4.8°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#2A0712
RGBrgb(42, 7, 18)
HSLhsl(341, 71%, 10%)
HSVhsv(341, 83%, 16%)
CMYKcmyk(0%, 83.3%, 57.1%, 83.5%)
CIE-LABlab(6.21, 18.70, 1.49)
CIE-LCHlch(6.21, 18.76, 4.56°)
OKLaboklab(19.79% 0.0591 0.005)
OKLCHoklch(19.79% 0.059 4.8)
XYZxyz(1.1401, 0.6880, 0.6449)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0712 #072A1F
analogous
#2A0724 #2A0712 #2A0E07
triadic
#2A0712 #122A07 #07122A
tetradic
#2A0712 #242A07 #072A1F #0E072A
square
#2A0712 #242A07 #072A1F #0E072A
split-complementary
#2A0712 #072A0E #07242A
monochromatic
#1A040B #1A040B #2A0712 #5E1028 #93183F

Accessibility & contrast

On white

18.46
#2A0712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2A0712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0712
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0712#FFFFFF#000000##FFFFFF
##2A07121.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0F12
Deuteranopia (green-blind)
#181611
Tritanopia (blue-blind)
#2E030B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2a0712;
/* rgb */ color: rgb(42, 7, 18);
/* oklch */ color: oklch(19.8% 0.059 4.8);
Tailwind
colors: {
  custom: {
    50: '#664950',
    500: '#2a0712',
    950: '#000000',
  },
}
SCSS
$custom: #2a0712;
$custom-light: #664950;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0712",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 18
  },
  "hsl": {
    "h": 341.143,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19787,
    "c": 0.05932,
    "h": 4.8
  },
  "luminance": 0.00688
}

Semantic roles & 50–950 ramp

primary
#2A0712
secondary
#236A53
accent
#EEB53A
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2A0712

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

Preview Lab → · Contrast checker → · Palette generator →

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