#2A031E#2A031E

#2A031E is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.7% C 0.075 H 342.9°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#2A031E
RGBrgb(42, 3, 30)
HSLhsl(318, 87%, 9%)
HSVhsv(318, 93%, 16%)
CMYKcmyk(0%, 92.9%, 28.6%, 83.5%)
CIE-LABlab(5.88, 22.81, -7.86)
CIE-LCHlch(5.88, 24.12, 340.99°)
OKLaboklab(19.67% 0.0717 -0.0221)
OKLCHoklch(19.67% 0.075 342.9)
XYZxyz(1.2218, 0.6512, 1.2894)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A031E #032A0F
analogous
#23032A #2A031E #2A030B
triadic
#2A031E #1E2A03 #031E2A
tetradic
#2A031E #2A2303 #032A0F #030B2A
square
#2A031E #2A2303 #032A0F #030B2A
split-complementary
#2A031E #0B2A03 #032A23
monochromatic
#1D0214 #1D0214 #2A031E #630747 #9C0B70

Accessibility & contrast

On white

18.58
#2A031E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2A031E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A031E
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A031E#FFFFFF#000000##FFFFFF
##2A031E1.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060F1F
Deuteranopia (green-blind)
#13151D
Tritanopia (blue-blind)
#2D030F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a031e;
/* rgb */ color: rgb(42, 3, 30);
/* oklch */ color: oklch(19.7% 0.075 342.9);
Tailwind
colors: {
  custom: {
    50: '#654759',
    500: '#2a031e',
    950: '#000000',
  },
}
SCSS
$custom: #2a031e;
$custom-light: #654759;
$custom-dark: #000000;
JSON
{
  "hex": "#2a031e",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 30
  },
  "hsl": {
    "h": 318.462,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19672,
    "c": 0.07501,
    "h": 342.9
  },
  "luminance": 0.00651
}

Semantic roles & 50–950 ramp

primary
#2A031E
secondary
#1B6E34
accent
#FD6C2B
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2A031E

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

Preview Lab → · Contrast checker → · Palette generator →

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