#2D0122#2D0122

#2D0122 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.2% C 0.085 H 340.3°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#2D0122
RGBrgb(45, 1, 34)
HSLhsl(315, 96%, 9%)
HSVhsv(315, 98%, 18%)
CMYKcmyk(0%, 97.8%, 24.4%, 82.4%)
CIE-LABlab(6.28, 26.00, -10.31)
CIE-LCHlch(6.28, 27.97, 338.36°)
OKLaboklab(20.22% 0.0798 -0.0286)
OKLCHoklch(20.22% 0.085 340.3)
XYZxyz(1.3818, 0.6952, 1.5745)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0122 #012D0C
analogous
#22012D #2D0122 #2D010C
triadic
#2D0122 #222D01 #01222D
tetradic
#2D0122 #2D2201 #012D0C #010C2D
square
#2D0122 #2D2201 #012D0C #010C2D
split-complementary
#2D0122 #0C2D01 #012D22
monochromatic
#1E0117 #1E0117 #2D0122 #69024F #A5047C

Accessibility & contrast

On white

18.44
#2D0122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0122
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0122#FFFFFF#000000##FFFFFF
##2D01221.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030F23
Deuteranopia (green-blind)
#121721
Tritanopia (blue-blind)
#300210
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d0122;
/* rgb */ color: rgb(45, 1, 34);
/* oklch */ color: oklch(20.2% 0.085 340.3);
Tailwind
colors: {
  custom: {
    50: '#68475d',
    500: '#2d0122',
    950: '#000000',
  },
}
SCSS
$custom: #2d0122;
$custom-light: #68475d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0122",
  "rgb": {
    "r": 45,
    "g": 1,
    "b": 34
  },
  "hsl": {
    "h": 315,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.20222,
    "c": 0.08477,
    "h": 340.3
  },
  "luminance": 0.00695
}

Semantic roles & 50–950 ramp

primary
#2D0122
secondary
#17732E
accent
#FF5E29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2D0122

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

Preview Lab → · Contrast checker → · Palette generator →

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