#2A0420#2A0420

#2A0420 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.0% C 0.074 H 340.4°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#2A0420
RGBrgb(42, 4, 32)
HSLhsl(316, 83%, 9%)
HSVhsv(316, 90%, 16%)
CMYKcmyk(0%, 90.5%, 23.8%, 83.5%)
CIE-LABlab(6.17, 22.73, -8.98)
CIE-LCHlch(6.17, 24.43, 338.45°)
OKLaboklab(19.96% 0.07 -0.025)
OKLCHoklch(19.96% 0.074 340.4)
XYZxyz(1.2590, 0.6835, 1.4318)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0420 #042A0E
analogous
#21042A #2A0420 #2A040D
triadic
#2A0420 #202A04 #04202A
tetradic
#2A0420 #2A2104 #042A0E #040D2A
square
#2A0420 #2A2104 #042A0E #040D2A
split-complementary
#2A0420 #0D2A04 #042A21
monochromatic
#1C0315 #1C0315 #2A0420 #62094B #9A0F75

Accessibility & contrast

On white

18.48
#2A0420 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2A0420 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0420
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0420#FFFFFF#000000##FFFFFF
##2A04201.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061021
Deuteranopia (green-blind)
#12161F
Tritanopia (blue-blind)
#2D0510
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2a0420;
/* rgb */ color: rgb(42, 4, 32);
/* oklch */ color: oklch(20.0% 0.074 340.4);
Tailwind
colors: {
  custom: {
    50: '#65485b',
    500: '#2a0420',
    950: '#000000',
  },
}
SCSS
$custom: #2a0420;
$custom-light: #65485b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0420",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 32
  },
  "hsl": {
    "h": 315.789,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19964,
    "c": 0.0743,
    "h": 340.4
  },
  "luminance": 0.00683
}

Semantic roles & 50–950 ramp

primary
#2A0420
secondary
#1D6D32
accent
#F9642F
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2A0420

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

Preview Lab → · Contrast checker → · Palette generator →

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