#2A0518#2A0518

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

Color values

HEX#2A0518
RGBrgb(42, 5, 24)
HSLhsl(329, 79%, 9%)
HSVhsv(329, 88%, 16%)
CMYKcmyk(0%, 88.1%, 42.9%, 83.5%)
CIE-LABlab(6.02, 20.65, -2.93)
CIE-LCHlch(6.02, 20.86, 351.93°)
OKLaboklab(19.7% 0.0658 -0.0083)
OKLCHoklch(19.7% 0.066 352.8)
XYZxyz(1.1741, 0.6669, 0.9309)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0518 #052A17
analogous
#2A052A #2A0518 #2A0506
triadic
#2A0518 #182A05 #05182A
tetradic
#2A0518 #2A2A05 #052A17 #05062A
square
#2A0518 #2A2A05 #052A17 #05062A
split-complementary
#2A0518 #062A05 #052A2A
monochromatic
#1B0310 #1B0310 #2A0518 #610C37 #971257

Accessibility & contrast

On white

18.53
#2A0518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0518
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0518#FFFFFF#000000##FFFFFF
##2A05181.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0F19
Deuteranopia (green-blind)
#151617
Tritanopia (blue-blind)
#2E030D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a0518;
/* rgb */ color: rgb(42, 5, 24);
/* oklch */ color: oklch(19.7% 0.066 352.8);
Tailwind
colors: {
  custom: {
    50: '#654854',
    500: '#2a0518',
    950: '#000000',
  },
}
SCSS
$custom: #2a0518;
$custom-light: #654854;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0518",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 24
  },
  "hsl": {
    "h": 329.189,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19697,
    "c": 0.06629,
    "h": 352.8
  },
  "luminance": 0.00667
}

Semantic roles & 50–950 ramp

primary
#2A0518
secondary
#1F6C44
accent
#F59133
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2A0518

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

Preview Lab → · Contrast checker → · Palette generator →

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