#2E031F#2E031F

#2E031F is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.6% C 0.079 H 345.5°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#2E031F
RGBrgb(46, 3, 31)
HSLhsl(321, 88%, 10%)
HSVhsv(321, 93%, 18%)
CMYKcmyk(0%, 93.5%, 32.6%, 82%)
CIE-LABlab(6.73, 24.78, -7.28)
CIE-LCHlch(6.73, 25.83, 343.63°)
OKLaboklab(20.58% 0.0763 -0.0197)
OKLCHoklch(20.58% 0.079 345.5)
XYZxyz(1.4067, 0.7451, 1.3658)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E031F #032E12
analogous
#28032E #2E031F #2E030A
triadic
#2E031F #1F2E03 #031F2E
tetradic
#2E031F #2E2803 #032E12 #030A2E
square
#2E031F #2E2803 #032E12 #030A2E
split-complementary
#2E031F #0A2E03 #032E28
monochromatic
#1D0213 #1D0213 #2E031F #670746 #A10A6C

Accessibility & contrast

On white

18.28
#2E031F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2E031F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E031F
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E031F#FFFFFF#000000##FFFFFF
##2E031F1.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081020
Deuteranopia (green-blind)
#15181E
Tritanopia (blue-blind)
#32020F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2e031f;
/* rgb */ color: rgb(46, 3, 31);
/* oklch */ color: oklch(20.6% 0.079 345.5);
Tailwind
colors: {
  custom: {
    50: '#69485a',
    500: '#2e031f',
    950: '#000000',
  },
}
SCSS
$custom: #2e031f;
$custom-light: #69485a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e031f",
  "rgb": {
    "r": 46,
    "g": 3,
    "b": 31
  },
  "hsl": {
    "h": 320.93,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2058,
    "c": 0.07883,
    "h": 345.5
  },
  "luminance": 0.00745
}

Semantic roles & 50–950 ramp

primary
#2E031F
secondary
#1B7239
accent
#FE742A
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2E031F

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

Preview Lab → · Contrast checker → · Palette generator →

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