#2A0522#2A0522

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

Color values

HEX#2A0522
RGBrgb(42, 5, 34)
HSLhsl(313, 79%, 9%)
HSVhsv(313, 88%, 16%)
CMYKcmyk(0%, 88.1%, 19%, 83.5%)
CIE-LABlab(6.47, 22.65, -10.07)
CIE-LCHlch(6.47, 24.79, 336.03°)
OKLaboklab(20.25% 0.0683 -0.0278)
OKLCHoklch(20.25% 0.074 337.8)
XYZxyz(1.2979, 0.7164, 1.5830)
Luminance0.0072 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0522 #052A0D
analogous
#20052A #2A0522 #2A0510
triadic
#2A0522 #222A05 #05222A
tetradic
#2A0522 #2A2005 #052A0D #05102A
square
#2A0522 #2A2005 #052A0D #05102A
split-complementary
#2A0522 #102A05 #052A20
monochromatic
#1B0316 #1B0316 #2A0522 #610C4E #97127B

Accessibility & contrast

On white

18.37
#2A0522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0522
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0522#FFFFFF#000000##FFFFFF
##2A05221.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061123
Deuteranopia (green-blind)
#121621
Tritanopia (blue-blind)
#2D0612
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2a0522;
/* rgb */ color: rgb(42, 5, 34);
/* oklch */ color: oklch(20.3% 0.074 337.8);
Tailwind
colors: {
  custom: {
    50: '#65495d',
    500: '#2a0522',
    950: '#000000',
  },
}
SCSS
$custom: #2a0522;
$custom-light: #65495d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0522",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 34
  },
  "hsl": {
    "h": 312.973,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20254,
    "c": 0.0738,
    "h": 337.8
  },
  "luminance": 0.00716
}

Semantic roles & 50–950 ramp

primary
#2A0522
secondary
#1F6C30
accent
#F55D33
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2A0522

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

Preview Lab → · Contrast checker → · Palette generator →

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