#2F282C#2F282C

#2F282C is a dark, near-neutral pink. Relative luminance 0.023; OKLCH L 28.6% C 0.012 H 342.6°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#2F282C
RGBrgb(47, 40, 44)
HSLhsl(326, 8%, 17%)
HSVhsv(326, 15%, 18%)
CMYKcmyk(0%, 14.9%, 6.4%, 81.6%)
CIE-LABlab(17.01, 4.12, -1.42)
CIE-LCHlch(17.01, 4.36, 340.96°)
OKLaboklab(28.61% 0.0119 -0.0037)
OKLCHoklch(28.61% 0.012 342.6)
XYZxyz(2.3857, 2.3038, 2.7014)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F282C #282F2B
analogous
#2F282F #2F282C #2F2829
triadic
#2F282C #2C2F28 #282C2F
tetradic
#2F282C #2F2F28 #282F2B #28292F
square
#2F282C #2F2F28 #282F2B #28292F
split-complementary
#2F282C #292F28 #282F2F
monochromatic
#110E0F #110E0F #2F282C #50444B #71606A

Accessibility & contrast

On white

14.38
#2F282C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2F282C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F282C
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F282C#FFFFFF#000000##FFFFFF
##2F282C1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292C
Deuteranopia (green-blind)
#2A2A2C
Tritanopia (blue-blind)
#302829
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f282c;
/* rgb */ color: rgb(47, 40, 44);
/* oklch */ color: oklch(28.6% 0.012 342.6);
Tailwind
colors: {
  custom: {
    50: '#676165',
    500: '#2f282c',
    950: '#000000',
  },
}
SCSS
$custom: #2f282c;
$custom-light: #676165;
$custom-dark: #000000;
JSON
{
  "hex": "#2f282c",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 44
  },
  "hsl": {
    "h": 325.714,
    "s": 8.046,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28611,
    "c": 0.01246,
    "h": 342.6
  },
  "luminance": 0.02304
}

Semantic roles & 50–950 ramp

primary
#2F282C
secondary
#545E59
accent
#B19077
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060505
muted
#7A797A

Preview Lab

Preview with #2F282C

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

Preview Lab → · Contrast checker → · Palette generator →

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