#2D0E27#2D0E27

#2D0E27 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.064 H 335.6°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#2D0E27
RGBrgb(45, 14, 39)
HSLhsl(312, 53%, 12%)
HSVhsv(312, 69%, 18%)
CMYKcmyk(0%, 68.9%, 13.3%, 82.4%)
CIE-LABlab(9.15, 19.90, -9.69)
CIE-LCHlch(9.15, 22.13, 334.04°)
OKLaboklab(22.5% 0.0579 -0.0263)
OKLCHoklch(22.5% 0.064 335.6)
XYZxyz(1.6054, 1.0186, 2.0311)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E27 #0E2D14
analogous
#240E2D #2D0E27 #2D0E18
triadic
#2D0E27 #272D0E #0E272D
tetradic
#2D0E27 #2D240E #0E2D14 #0E182D
square
#2D0E27 #2D240E #0E2D14 #0E182D
split-complementary
#2D0E27 #182D0E #0E2D24
monochromatic
#170714 #170714 #2D0E27 #5C1D4F #8A2B78

Accessibility & contrast

On white

17.45
#2D0E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2D0E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0E27
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0E27#FFFFFF#000000##FFFFFF
##2D0E271.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1728
Deuteranopia (green-blind)
#171B26
Tritanopia (blue-blind)
#2F1018
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0e27;
/* rgb */ color: rgb(45, 14, 39);
/* oklch */ color: oklch(22.5% 0.064 335.6);
Tailwind
colors: {
  custom: {
    50: '#674e61',
    500: '#2d0e27',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e27;
$custom-light: #674e61;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e27",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 39
  },
  "hsl": {
    "h": 311.613,
    "s": 52.542,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22499,
    "c": 0.06354,
    "h": 335.6
  },
  "luminance": 0.01018
}

Semantic roles & 50–950 ramp

primary
#2D0E27
secondary
#30673A
accent
#DC684C
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060205
muted
#7A7879

Preview Lab

Preview with #2D0E27

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

Preview Lab → · Contrast checker → · Palette generator →

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