#2A0512#2A0512

#2A0512 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.4% C 0.063 H 2.9°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#2A0512
RGBrgb(42, 5, 18)
HSLhsl(339, 79%, 9%)
HSVhsv(339, 88%, 16%)
CMYKcmyk(0%, 88.1%, 57.1%, 83.5%)
CIE-LABlab(5.82, 19.66, 0.92)
CIE-LCHlch(5.82, 19.68, 2.67°)
OKLaboklab(19.44% 0.0633 0.0032)
OKLCHoklch(19.44% 0.063 2.9)
XYZxyz(1.1184, 0.6446, 0.6377)
Luminance0.0064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0512 #052A1D
analogous
#2A0525 #2A0512 #2A0B05
triadic
#2A0512 #122A05 #05122A
tetradic
#2A0512 #252A05 #052A1D #0B052A
square
#2A0512 #252A05 #052A1D #0B052A
split-complementary
#2A0512 #052A0B #05252A
monochromatic
#1B030C #1B030C #2A0512 #610C29 #971241

Accessibility & contrast

On white

18.60
#2A0512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0512
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0512#FFFFFF#000000##FFFFFF
##2A05121.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0E12
Deuteranopia (green-blind)
#171611
Tritanopia (blue-blind)
#2F020A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a0512;
/* rgb */ color: rgb(42, 5, 18);
/* oklch */ color: oklch(19.4% 0.063 2.9);
Tailwind
colors: {
  custom: {
    50: '#664850',
    500: '#2a0512',
    950: '#000000',
  },
}
SCSS
$custom: #2a0512;
$custom-light: #664850;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0512",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 18
  },
  "hsl": {
    "h": 338.919,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19436,
    "c": 0.06338,
    "h": 2.9
  },
  "luminance": 0.00644
}

Semantic roles & 50–950 ramp

primary
#2A0512
secondary
#1F6C51
accent
#F5B133
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2A0512

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

Preview Lab → · Contrast checker → · Palette generator →

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