#2A0617#2A0617

#2A0617 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.8% C 0.064 H 355.1°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#2A0617
RGBrgb(42, 6, 23)
HSLhsl(332, 75%, 9%)
HSVhsv(332, 86%, 16%)
CMYKcmyk(0%, 85.7%, 45.2%, 83.5%)
CIE-LABlab(6.18, 19.99, -1.94)
CIE-LCHlch(6.18, 20.08, 354.47°)
OKLaboklab(19.82% 0.0633 -0.0055)
OKLCHoklch(19.82% 0.064 355.1)
XYZxyz(1.1747, 0.6845, 0.8807)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0617 #062A19
analogous
#2A0629 #2A0617 #2A0706
triadic
#2A0617 #172A06 #06172A
tetradic
#2A0617 #292A06 #062A19 #07062A
square
#2A0617 #292A06 #062A19 #07062A
split-complementary
#2A0617 #062A07 #06292A
monochromatic
#1B040F #1B040F #2A0617 #600E34 #951552

Accessibility & contrast

On white

18.47
#2A0617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0617
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0617#FFFFFF#000000##FFFFFF
##2A06171.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0F17
Deuteranopia (green-blind)
#161616
Tritanopia (blue-blind)
#2E040D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2a0617;
/* rgb */ color: rgb(42, 6, 23);
/* oklch */ color: oklch(19.8% 0.064 355.1);
Tailwind
colors: {
  custom: {
    50: '#654953',
    500: '#2a0617',
    950: '#000000',
  },
}
SCSS
$custom: #2a0617;
$custom-light: #654953;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0617",
  "rgb": {
    "r": 42,
    "g": 6,
    "b": 23
  },
  "hsl": {
    "h": 331.667,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19823,
    "c": 0.06355,
    "h": 355.1
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#2A0617
secondary
#216B48
accent
#F29936
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2A0617

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

Preview Lab → · Contrast checker → · Palette generator →

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