#2A0A20#2A0A20

#2A0A20 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.9% C 0.062 H 341.8°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#2A0A20
RGBrgb(42, 10, 32)
HSLhsl(319, 62%, 10%)
HSVhsv(319, 76%, 16%)
CMYKcmyk(0%, 76.2%, 23.8%, 83.5%)
CIE-LABlab(7.35, 19.66, -7.19)
CIE-LCHlch(7.35, 20.93, 339.93°)
OKLaboklab(20.93% 0.0589 -0.0193)
OKLCHoklch(20.93% 0.062 341.8)
XYZxyz(1.3241, 0.8137, 1.4535)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0A20 #0A2A14
analogous
#240A2A #2A0A20 #2A0A10
triadic
#2A0A20 #202A0A #0A202A
tetradic
#2A0A20 #2A240A #0A2A14 #0A102A
square
#2A0A20 #2A240A #0A2A14 #0A102A
split-complementary
#2A0A20 #102A0A #0A2A24
monochromatic
#190613 #190613 #2A0A20 #5B1646 #8D226B

Accessibility & contrast

On white

18.06
#2A0A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2A0A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0A20
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0A20#FFFFFF#000000##FFFFFF
##2A0A201.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1321
Deuteranopia (green-blind)
#16181F
Tritanopia (blue-blind)
#2D0A13
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2a0a20;
/* rgb */ color: rgb(42, 10, 32);
/* oklch */ color: oklch(20.9% 0.062 341.8);
Tailwind
colors: {
  custom: {
    50: '#654b5b',
    500: '#2a0a20',
    950: '#000000',
  },
}
SCSS
$custom: #2a0a20;
$custom-light: #654b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0a20",
  "rgb": {
    "r": 42,
    "g": 10,
    "b": 32
  },
  "hsl": {
    "h": 318.75,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20925,
    "c": 0.06194,
    "h": 341.8
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#2A0A20
secondary
#29673C
accent
#E57643
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2A0A20

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

Preview Lab → · Contrast checker → · Palette generator →

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