#2F282D#2F282D

#2F282D is a dark, near-neutral pink. Relative luminance 0.023; OKLCH L 28.7% C 0.014 H 336.1°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#2F282D
RGBrgb(47, 40, 45)
HSLhsl(317, 8%, 17%)
HSVhsv(317, 15%, 18%)
CMYKcmyk(0%, 14.9%, 4.3%, 81.6%)
CIE-LABlab(17.04, 4.36, -2.07)
CIE-LCHlch(17.04, 4.82, 334.55°)
OKLaboklab(28.65% 0.0124 -0.0055)
OKLCHoklch(28.65% 0.014 336.1)
XYZxyz(2.4047, 2.3114, 2.8016)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F282D #282F2A
analogous
#2E282F #2F282D #2F282A
triadic
#2F282D #2D2F28 #282D2F
tetradic
#2F282D #2F2E28 #282F2A #282A2F
square
#2F282D #2F2E28 #282F2A #282A2F
split-complementary
#2F282D #2A2F28 #282F2E
monochromatic
#110E10 #110E10 #2F282D #50444D #71606C

Accessibility & contrast

On white

14.36
#2F282D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F282D
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F282D#FFFFFF#000000##FFFFFF
##2F282D1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292D
Deuteranopia (green-blind)
#2A2A2D
Tritanopia (blue-blind)
#30282A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f282d;
/* rgb */ color: rgb(47, 40, 45);
/* oklch */ color: oklch(28.7% 0.014 336.1);
Tailwind
colors: {
  custom: {
    50: '#676165',
    500: '#2f282d',
    950: '#000000',
  },
}
SCSS
$custom: #2f282d;
$custom-light: #676165;
$custom-dark: #000000;
JSON
{
  "hex": "#2f282d",
  "rgb": {
    "r": 47,
    "g": 40,
    "b": 45
  },
  "hsl": {
    "h": 317.143,
    "s": 8.046,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28651,
    "c": 0.01353,
    "h": 336.1
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

primary
#2F282D
secondary
#545E57
accent
#B18777
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060505
muted
#7A797A

Preview Lab

Preview with #2F282D

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

Preview Lab → · Contrast checker → · Palette generator →

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