#2A050F#2A050F

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

Color values

HEX#2A050F
RGBrgb(42, 5, 15)
HSLhsl(344, 79%, 9%)
HSVhsv(344, 88%, 16%)
CMYKcmyk(0%, 88.1%, 64.3%, 83.5%)
CIE-LABlab(5.74, 19.24, 2.50)
CIE-LCHlch(5.74, 19.40, 7.42°)
OKLaboklab(19.33% 0.0619 0.0088)
OKLCHoklch(19.33% 0.063 8.1)
XYZxyz(1.0954, 0.6354, 0.5168)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A050F #052A20
analogous
#2A0522 #2A050F #2A0E05
triadic
#2A050F #0F2A05 #050F2A
tetradic
#2A050F #222A05 #052A20 #0E052A
square
#2A050F #222A05 #052A20 #0E052A
split-complementary
#2A050F #052A0E #05222A
monochromatic
#1B030A #1B030A #2A050F #610C23 #971236

Accessibility & contrast

On white

18.63
#2A050F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A050F
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A050F#FFFFFF#000000##FFFFFF
##2A050F1.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0E0F
Deuteranopia (green-blind)
#17150E
Tritanopia (blue-blind)
#2F0109
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a050f;
/* rgb */ color: rgb(42, 5, 15);
/* oklch */ color: oklch(19.3% 0.063 8.1);
Tailwind
colors: {
  custom: {
    50: '#66484e',
    500: '#2a050f',
    950: '#000000',
  },
}
SCSS
$custom: #2a050f;
$custom-light: #66484e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a050f",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 15
  },
  "hsl": {
    "h": 343.784,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19326,
    "c": 0.06251,
    "h": 8.1
  },
  "luminance": 0.00635
}

Semantic roles & 50–950 ramp

primary
#2A050F
secondary
#1F6C57
accent
#F5C133
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A050F

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

Preview Lab → · Contrast checker → · Palette generator →

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