#2A0018#2A0018

#2A0018 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.8% C 0.078 H 350.1°. Best body text is #FFFFFF at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#2A0018
RGBrgb(42, 0, 24)
HSLhsl(326, 100%, 8%)
HSVhsv(326, 100%, 16%)
CMYKcmyk(0%, 100%, 42.9%, 83.5%)
CIE-LABlab(5.04, 23.07, -4.36)
CIE-LCHlch(5.04, 23.48, 349.29°)
OKLaboklab(18.79% 0.0772 -0.0134)
OKLCHoklch(18.79% 0.078 350.1)
XYZxyz(1.1198, 0.5583, 0.9128)
Luminance0.0056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0018 #002A12
analogous
#27002A #2A0018 #2A0003
triadic
#2A0018 #182A00 #00182A
tetradic
#2A0018 #2A2700 #002A12 #00032A
square
#2A0018 #2A2700 #002A12 #00032A
split-complementary
#2A0018 #032A00 #002A27
monochromatic
#1F0011 #1F0011 #2A0018 #67003B #A4005E

Accessibility & contrast

On white

18.89
#2A0018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#2A0018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0018
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0018#FFFFFF#000000##FFFFFF
##2A00181.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050C19
Deuteranopia (green-blind)
#131417
Tritanopia (blue-blind)
#2E000A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a0018;
/* rgb */ color: rgb(42, 0, 24);
/* oklch */ color: oklch(18.8% 0.078 350.1);
Tailwind
colors: {
  custom: {
    50: '#664654',
    500: '#2a0018',
    950: '#000000',
  },
}
SCSS
$custom: #2a0018;
$custom-light: #664654;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0018",
  "rgb": {
    "r": 42,
    "g": 0,
    "b": 24
  },
  "hsl": {
    "h": 325.714,
    "s": 100,
    "l": 8.235
  },
  "oklch": {
    "l": 0.18786,
    "c": 0.07834,
    "h": 350.1
  },
  "luminance": 0.00558
}

Semantic roles & 50–950 ramp

primary
#2A0018
secondary
#14723C
accent
#FF8529
background
#F6F3F4
surface
#EBE5E7
border
#C6C1C3
text
#060002
muted
#7A7678

Preview Lab

Preview with #2A0018

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

Preview Lab → · Contrast checker → · Palette generator →

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