#2A020F#2A020F

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

Color values

HEX#2A020F
RGBrgb(42, 2, 15)
HSLhsl(341, 91%, 9%)
HSVhsv(341, 95%, 16%)
CMYKcmyk(0%, 95.2%, 64.3%, 83.5%)
CIE-LABlab(5.15, 20.64, 1.64)
CIE-LCHlch(5.15, 20.71, 4.55°)
OKLaboklab(18.77% 0.0688 0.0062)
OKLCHoklch(18.77% 0.069 5.1)
XYZxyz(1.0629, 0.5703, 0.5060)
Luminance0.0057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A020F #022A1D
analogous
#2A0223 #2A020F #2A0902
triadic
#2A020F #0F2A02 #020F2A
tetradic
#2A020F #232A02 #022A1D #09022A
square
#2A020F #232A02 #022A1D #09022A
split-complementary
#2A020F #022A09 #02232A
monochromatic
#1D010A #1D010A #2A020F #640524 #9F0839

Accessibility & contrast

On white

18.85
#2A020F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A020F
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A020F#FFFFFF#000000##FFFFFF
##2A020F1.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0C0F
Deuteranopia (green-blind)
#16140E
Tritanopia (blue-blind)
#2F0007
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a020f;
/* rgb */ color: rgb(42, 2, 15);
/* oklch */ color: oklch(18.8% 0.069 5.1);
Tailwind
colors: {
  custom: {
    50: '#66474e',
    500: '#2a020f',
    950: '#000000',
  },
}
SCSS
$custom: #2a020f;
$custom-light: #66474e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a020f",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 15
  },
  "hsl": {
    "h": 340.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18766,
    "c": 0.06909,
    "h": 5.1
  },
  "luminance": 0.0057
}

Semantic roles & 50–950 ramp

primary
#2A020F
secondary
#196F53
accent
#FFB929
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A020F

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

Preview Lab → · Contrast checker → · Palette generator →

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