#2F0D29#2F0D29

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

Color values

HEX#2F0D29
RGBrgb(47, 13, 41)
HSLhsl(311, 57%, 12%)
HSVhsv(311, 72%, 18%)
CMYKcmyk(0%, 72.3%, 12.8%, 81.6%)
CIE-LABlab(9.42, 21.61, -10.73)
CIE-LCHlch(9.42, 24.13, 333.60°)
OKLaboklab(22.81% 0.0628 -0.0292)
OKLCHoklch(22.81% 0.069 335.1)
XYZxyz(1.7165, 1.0524, 2.2101)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D29 #0D2F13
analogous
#240D2F #2F0D29 #2F0D18
triadic
#2F0D29 #292F0D #0D292F
tetradic
#2F0D29 #2F240D #0D2F13 #0D182F
square
#2F0D29 #2F240D #0D2F13 #0D182F
split-complementary
#2F0D29 #182F0D #0D2F24
monochromatic
#180715 #180715 #2F0D29 #5F1A53 #8F287D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F0D29#FFFFFF#000000##FFFFFF
##2F0D291.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)
#0D172A
Deuteranopia (green-blind)
#181C28
Tritanopia (blue-blind)
#320F19
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0d29;
/* rgb */ color: rgb(47, 13, 41);
/* oklch */ color: oklch(22.8% 0.069 335.1);
Tailwind
colors: {
  custom: {
    50: '#694e62',
    500: '#2f0d29',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d29;
$custom-light: #694e62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d29",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 41
  },
  "hsl": {
    "h": 310.588,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22813,
    "c": 0.06922,
    "h": 335.1
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#2F0D29
secondary
#2E6A38
accent
#E06348
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0D29

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

Preview Lab → · Contrast checker → · Palette generator →

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