#2A0112#2A0112

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

Color values

HEX#2A0112
RGBrgb(42, 1, 18)
HSLhsl(335, 95%, 8%)
HSVhsv(335, 98%, 16%)
CMYKcmyk(0%, 97.6%, 57.1%, 83.5%)
CIE-LABlab(5.04, 21.55, -0.23)
CIE-LCHlch(5.04, 21.55, 359.40°)
OKLaboklab(18.69% 0.0726 -0.0005)
OKLCHoklch(18.69% 0.073 359.6)
XYZxyz(1.0750, 0.5578, 0.6232)
Luminance0.0056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0112 #012A19
analogous
#2A0126 #2A0112 #2A0401
triadic
#2A0112 #122A01 #01122A
tetradic
#2A0112 #262A01 #012A19 #04012A
square
#2A0112 #262A01 #012A19 #04012A
split-complementary
#2A0112 #012A04 #01262A
monochromatic
#1E010D #1E010D #2A0112 #66022C #A20445

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A0112#FFFFFF#000000##FFFFFF
##2A01121.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)
#090B12
Deuteranopia (green-blind)
#151411
Tritanopia (blue-blind)
#2F0007
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a0112;
/* rgb */ color: rgb(42, 1, 18);
/* oklch */ color: oklch(18.7% 0.073 359.6);
Tailwind
colors: {
  custom: {
    50: '#664650',
    500: '#2a0112',
    950: '#000000',
  },
}
SCSS
$custom: #2a0112;
$custom-light: #664650;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0112",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 18
  },
  "hsl": {
    "h": 335.122,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18691,
    "c": 0.07261,
    "h": 359.6
  },
  "luminance": 0.00558
}

Semantic roles & 50–950 ramp

primary
#2A0112
secondary
#16704B
accent
#FFA629
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2A0112

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

Preview Lab → · Contrast checker → · Palette generator →

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