#2A0412#2A0412

#2A0412 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.3% C 0.066 H 2.0°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#2A0412
RGBrgb(42, 4, 18)
HSLhsl(338, 83%, 9%)
HSVhsv(338, 90%, 16%)
CMYKcmyk(0%, 90.5%, 57.1%, 83.5%)
CIE-LABlab(5.63, 20.14, 0.63)
CIE-LCHlch(5.63, 20.15, 1.80°)
OKLaboklab(19.26% 0.0655 0.0023)
OKLCHoklch(19.26% 0.066 2)
XYZxyz(1.1075, 0.6229, 0.6341)
Luminance0.0062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0412 #042A1C
analogous
#2A0425 #2A0412 #2A0904
triadic
#2A0412 #122A04 #04122A
tetradic
#2A0412 #252A04 #042A1C #09042A
square
#2A0412 #252A04 #042A1C #09042A
split-complementary
#2A0412 #042A09 #04252A
monochromatic
#1C030C #1C030C #2A0412 #62092A #9A0F42

Accessibility & contrast

On white

18.67
#2A0412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2A0412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0412
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0412#FFFFFF#000000##FFFFFF
##2A04121.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0E12
Deuteranopia (green-blind)
#161511
Tritanopia (blue-blind)
#2F0109
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a0412;
/* rgb */ color: rgb(42, 4, 18);
/* oklch */ color: oklch(19.3% 0.066 2.0);
Tailwind
colors: {
  custom: {
    50: '#664850',
    500: '#2a0412',
    950: '#000000',
  },
}
SCSS
$custom: #2a0412;
$custom-light: #664850;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0412",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 18
  },
  "hsl": {
    "h": 337.895,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19256,
    "c": 0.06555,
    "h": 2
  },
  "luminance": 0.00623
}

Semantic roles & 50–950 ramp

primary
#2A0412
secondary
#1D6D4F
accent
#F9AE2F
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2A0412

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

Preview Lab → · Contrast checker → · Palette generator →

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