#2A0621#2A0621

#2A0621 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.4% C 0.071 H 339.4°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#2A0621
RGBrgb(42, 6, 33)
HSLhsl(315, 75%, 9%)
HSVhsv(315, 86%, 16%)
CMYKcmyk(0%, 85.7%, 21.4%, 83.5%)
CIE-LABlab(6.62, 21.92, -9.08)
CIE-LCHlch(6.62, 23.73, 337.51°)
OKLaboklab(20.36% 0.0663 -0.0249)
OKLCHoklch(20.36% 0.071 339.4)
XYZxyz(1.2945, 0.7324, 1.5117)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0621 #062A0F
analogous
#21062A #2A0621 #2A060F
triadic
#2A0621 #212A06 #06212A
tetradic
#2A0621 #2A2106 #062A0F #060F2A
square
#2A0621 #2A2106 #062A0F #060F2A
split-complementary
#2A0621 #0F2A06 #062A21
monochromatic
#1B0415 #1B0415 #2A0621 #600E4B #951575

Accessibility & contrast

On white

18.32
#2A0621 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0621
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0621#FFFFFF#000000##FFFFFF
##2A06211.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081122
Deuteranopia (green-blind)
#131720
Tritanopia (blue-blind)
#2D0712
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a0621;
/* rgb */ color: rgb(42, 6, 33);
/* oklch */ color: oklch(20.4% 0.071 339.4);
Tailwind
colors: {
  custom: {
    50: '#65495c',
    500: '#2a0621',
    950: '#000000',
  },
}
SCSS
$custom: #2a0621;
$custom-light: #65495c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0621",
  "rgb": {
    "r": 42,
    "g": 6,
    "b": 33
  },
  "hsl": {
    "h": 315,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20355,
    "c": 0.0708,
    "h": 339.4
  },
  "luminance": 0.00732
}

Semantic roles & 50–950 ramp

primary
#2A0621
secondary
#216B34
accent
#F26536
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2A0621

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

Preview Lab → · Contrast checker → · Palette generator →

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