#2A0517#2A0517

#2A0517 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.7% C 0.066 H 354.4°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#2A0517
RGBrgb(42, 5, 23)
HSLhsl(331, 79%, 9%)
HSVhsv(331, 88%, 16%)
CMYKcmyk(0%, 88.1%, 45.2%, 83.5%)
CIE-LABlab(5.99, 20.47, -2.22)
CIE-LCHlch(5.99, 20.59, 353.80°)
OKLaboklab(19.65% 0.0654 -0.0064)
OKLCHoklch(19.65% 0.066 354.4)
XYZxyz(1.1638, 0.6628, 0.8771)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0517 #052A18
analogous
#2A052A #2A0517 #2A0605
triadic
#2A0517 #172A05 #05172A
tetradic
#2A0517 #2A2A05 #052A18 #06052A
square
#2A0517 #2A2A05 #052A18 #06052A
split-complementary
#2A0517 #052A06 #052A2A
monochromatic
#1B030F #1B030F #2A0517 #610C35 #971253

Accessibility & contrast

On white

18.54
#2A0517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0517
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0517#FFFFFF#000000##FFFFFF
##2A05171.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0F18
Deuteranopia (green-blind)
#161616
Tritanopia (blue-blind)
#2E030C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a0517;
/* rgb */ color: rgb(42, 5, 23);
/* oklch */ color: oklch(19.7% 0.066 354.4);
Tailwind
colors: {
  custom: {
    50: '#664853',
    500: '#2a0517',
    950: '#000000',
  },
}
SCSS
$custom: #2a0517;
$custom-light: #664853;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0517",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 23
  },
  "hsl": {
    "h": 330.811,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.1965,
    "c": 0.0657,
    "h": 354.4
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#2A0517
secondary
#1F6C46
accent
#F59733
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2A0517

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

Preview Lab → · Contrast checker → · Palette generator →

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