#2E0522#2E0522

#2E0522 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.1% C 0.077 H 342.1°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#2E0522
RGBrgb(46, 5, 34)
HSLhsl(318, 80%, 10%)
HSVhsv(318, 89%, 18%)
CMYKcmyk(0%, 89.1%, 26.1%, 82%)
CIE-LABlab(7.27, 24.26, -8.77)
CIE-LCHlch(7.27, 25.80, 340.12°)
OKLaboklab(21.06% 0.0732 -0.0237)
OKLCHoklch(21.06% 0.077 342.1)
XYZxyz(1.4698, 0.8050, 1.5910)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0522 #052E11
analogous
#25052E #2E0522 #2E050E
triadic
#2E0522 #222E05 #05222E
tetradic
#2E0522 #2E2505 #052E11 #050E2E
square
#2E0522 #2E2505 #052E11 #050E2E
split-complementary
#2E0522 #0E2E05 #052E25
monochromatic
#1C0314 #1C0314 #2E0522 #650B4B #9C1174

Accessibility & contrast

On white

18.09
#2E0522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E0522
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0522#FFFFFF#000000##FFFFFF
##2E05221.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081223
Deuteranopia (green-blind)
#151921
Tritanopia (blue-blind)
#320512
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2e0522;
/* rgb */ color: rgb(46, 5, 34);
/* oklch */ color: oklch(21.1% 0.077 342.1);
Tailwind
colors: {
  custom: {
    50: '#69495d',
    500: '#2e0522',
    950: '#000000',
  },
}
SCSS
$custom: #2e0522;
$custom-light: #69495d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0522",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 34
  },
  "hsl": {
    "h": 317.561,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.21062,
    "c": 0.07692,
    "h": 342.1
  },
  "luminance": 0.00805
}

Semantic roles & 50–950 ramp

primary
#2E0522
secondary
#1F7037
accent
#F76B31
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2E0522

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

Preview Lab → · Contrast checker → · Palette generator →

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