#2E0123#2E0123

#2E0123 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.5% C 0.086 H 340.1°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#2E0123
RGBrgb(46, 1, 35)
HSLhsl(315, 96%, 9%)
HSVhsv(315, 98%, 18%)
CMYKcmyk(0%, 97.8%, 23.9%, 82%)
CIE-LABlab(6.54, 26.59, -10.67)
CIE-LCHlch(6.54, 28.65, 338.14°)
OKLaboklab(20.5% 0.081 -0.0293)
OKLCHoklch(20.5% 0.086 340.1)
XYZxyz(1.4410, 0.7241, 1.6537)
Luminance0.0072 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0123 #012E0C
analogous
#23012E #2E0123 #2E010D
triadic
#2E0123 #232E01 #01232E
tetradic
#2E0123 #2E2301 #012E0C #010D2E
square
#2E0123 #2E2301 #012E0C #010D2E
split-complementary
#2E0123 #0D2E01 #012E23
monochromatic
#1E0117 #1E0117 #2E0123 #6A0251 #A6047E

Accessibility & contrast

On white

18.34
#2E0123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2E0123 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0123
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0123#FFFFFF#000000##FFFFFF
##2E01231.0018.341.1418.34
#FFFFFF18.341.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031024
Deuteranopia (green-blind)
#131722
Tritanopia (blue-blind)
#310211
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2e0123;
/* rgb */ color: rgb(46, 1, 35);
/* oklch */ color: oklch(20.5% 0.086 340.1);
Tailwind
colors: {
  custom: {
    50: '#69475e',
    500: '#2e0123',
    950: '#000000',
  },
}
SCSS
$custom: #2e0123;
$custom-light: #69475e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0123",
  "rgb": {
    "r": 46,
    "g": 1,
    "b": 35
  },
  "hsl": {
    "h": 314.667,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.205,
    "c": 0.08614,
    "h": 340.1
  },
  "luminance": 0.00724
}

Semantic roles & 50–950 ramp

primary
#2E0123
secondary
#17742E
accent
#FF5D29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2E0123

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

Preview Lab → · Contrast checker → · Palette generator →

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