#2A031C#2A031C

#2A031C is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.6% C 0.074 H 345.7°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#2A031C
RGBrgb(42, 3, 28)
HSLhsl(322, 87%, 9%)
HSVhsv(322, 93%, 16%)
CMYKcmyk(0%, 92.9%, 33.3%, 83.5%)
CIE-LABlab(5.79, 22.40, -6.42)
CIE-LCHlch(5.79, 23.30, 344.00°)
OKLaboklab(19.56% 0.0712 -0.0182)
OKLCHoklch(19.56% 0.074 345.7)
XYZxyz(1.1971, 0.6413, 1.1591)
Luminance0.0064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A031C #032A11
analogous
#25032A #2A031C #2A0309
triadic
#2A031C #1C2A03 #031C2A
tetradic
#2A031C #2A2503 #032A11 #03092A
square
#2A031C #2A2503 #032A11 #03092A
split-complementary
#2A031C #092A03 #032A25
monochromatic
#1D0213 #1D0213 #2A031C #630742 #9C0B68

Accessibility & contrast

On white

18.61
#2A031C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A031C
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A031C#FFFFFF#000000##FFFFFF
##2A031C1.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070E1D
Deuteranopia (green-blind)
#13151B
Tritanopia (blue-blind)
#2E020E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a031c;
/* rgb */ color: rgb(42, 3, 28);
/* oklch */ color: oklch(19.6% 0.074 345.7);
Tailwind
colors: {
  custom: {
    50: '#654758',
    500: '#2a031c',
    950: '#000000',
  },
}
SCSS
$custom: #2a031c;
$custom-light: #654758;
$custom-dark: #000000;
JSON
{
  "hex": "#2a031c",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 28
  },
  "hsl": {
    "h": 321.538,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19556,
    "c": 0.07351,
    "h": 345.7
  },
  "luminance": 0.00641
}

Semantic roles & 50–950 ramp

primary
#2A031C
secondary
#1B6E39
accent
#FD762B
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2A031C

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

Preview Lab → · Contrast checker → · Palette generator →

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