#2D0F28#2D0F28

#2D0F28 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.7% C 0.063 H 334.2°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#2D0F28
RGBrgb(45, 15, 40)
HSLhsl(310, 50%, 12%)
HSVhsv(310, 67%, 18%)
CMYKcmyk(0%, 66.7%, 11.1%, 82.4%)
CIE-LABlab(9.42, 19.51, -10.00)
CIE-LCHlch(9.42, 21.92, 332.85°)
OKLaboklab(22.72% 0.0563 -0.0272)
OKLCHoklch(22.72% 0.063 334.2)
XYZxyz(1.6360, 1.0529, 2.1241)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F28 #0F2D14
analogous
#230F2D #2D0F28 #2D0F19
triadic
#2D0F28 #282D0F #0F282D
tetradic
#2D0F28 #2D230F #0F2D14 #0F192D
square
#2D0F28 #2D230F #0F2D14 #0F192D
split-complementary
#2D0F28 #192D0F #0F2D23
monochromatic
#170814 #170814 #2D0F28 #5B1E51 #892E7A

Accessibility & contrast

On white

17.35
#2D0F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2D0F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F28
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F28#FFFFFF#000000##FFFFFF
##2D0F281.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1829
Deuteranopia (green-blind)
#181C27
Tritanopia (blue-blind)
#2F1119
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0f28;
/* rgb */ color: rgb(45, 15, 40);
/* oklch */ color: oklch(22.7% 0.063 334.2);
Tailwind
colors: {
  custom: {
    50: '#674f62',
    500: '#2d0f28',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f28;
$custom-light: #674f62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f28",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 40
  },
  "hsl": {
    "h": 310,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22722,
    "c": 0.06255,
    "h": 334.2
  },
  "luminance": 0.01053
}

Semantic roles & 50–950 ramp

primary
#2D0F28
secondary
#31663A
accent
#DA654E
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2D0F28

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

Preview Lab → · Contrast checker → · Palette generator →

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