#2F282B#2F282B

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

Color values

HEX#2F282B
RGBrgb(47, 40, 43)
HSLhsl(334, 8%, 17%)
HSVhsv(334, 15%, 18%)
CMYKcmyk(0%, 14.9%, 8.5%, 81.6%)
CIE-LABlab(16.97, 3.90, -0.77)
CIE-LCHlch(16.97, 3.97, 348.79°)
OKLaboklab(28.57% 0.0114 -0.002)
OKLCHoklch(28.57% 0.012 350.1)
XYZxyz(2.3671, 2.2964, 2.6036)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F282B #282F2C
analogous
#2F282F #2F282B #2F2928
triadic
#2F282B #2B2F28 #282B2F
tetradic
#2F282B #2F2F28 #282F2C #29282F
square
#2F282B #2F2F28 #282F2C #29282F
split-complementary
#2F282B #282F29 #282F2F
monochromatic
#110E0F #110E0F #2F282B #504449 #716067

Accessibility & contrast

On white

14.39
#2F282B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F282B
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F282B#FFFFFF#000000##FFFFFF
##2F282B1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29292B
Deuteranopia (green-blind)
#2A2A2B
Tritanopia (blue-blind)
#302829
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f282b;
/* rgb */ color: rgb(47, 40, 43);
/* oklch */ color: oklch(28.6% 0.012 350.1);
Tailwind
colors: {
  custom: {
    50: '#676164',
    500: '#2f282b',
    950: '#000000',
  },
}
SCSS
$custom: #2f282b;
$custom-light: #676164;
$custom-dark: #000000;
JSON
{
  "hex": "#2f282b",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 43
  },
  "hsl": {
    "h": 334.286,
    "s": 8.046,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28572,
    "c": 0.01158,
    "h": 350.1
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#2F282B
secondary
#545E5A
accent
#B19877
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#060505
muted
#7A7979

Preview Lab

Preview with #2F282B

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

Preview Lab → · Contrast checker → · Palette generator →

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