#2F252A#2F252A

#2F252A is a dark, near-neutral pink. Relative luminance 0.021; OKLCH L 27.8% C 0.017 H 346.7°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#2F252A
RGBrgb(47, 37, 42)
HSLhsl(330, 12%, 16%)
HSVhsv(330, 21%, 18%)
CMYKcmyk(0%, 21.3%, 10.6%, 81.6%)
CIE-LABlab(15.98, 5.77, -1.53)
CIE-LCHlch(15.98, 5.97, 345.17°)
OKLaboklab(27.79% 0.0169 -0.004)
OKLCHoklch(27.79% 0.017 346.7)
XYZxyz(2.2517, 2.0947, 2.4757)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F252A #252F2A
analogous
#2F252F #2F252A #2F2525
triadic
#2F252A #2A2F25 #252A2F
tetradic
#2F252A #2F2F25 #252F2A #25252F
square
#2F252A #2F2F25 #252F2A #25252F
split-complementary
#2F252A #252F25 #252F2F
monochromatic
#110D0F #110D0F #2F252A #514049 #735B67

Accessibility & contrast

On white

14.80
#2F252A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2F252A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F252A
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F252A#FFFFFF#000000##FFFFFF
##2F252A1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26272A
Deuteranopia (green-blind)
#28282A
Tritanopia (blue-blind)
#302527
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f252a;
/* rgb */ color: rgb(47, 37, 42);
/* oklch */ color: oklch(27.8% 0.017 346.7);
Tailwind
colors: {
  custom: {
    50: '#675f63',
    500: '#2f252a',
    950: '#000000',
  },
}
SCSS
$custom: #2f252a;
$custom-light: #675f63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f252a",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 42
  },
  "hsl": {
    "h": 330,
    "s": 11.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27787,
    "c": 0.01732,
    "h": 346.7
  },
  "luminance": 0.02095
}

Semantic roles & 50–950 ramp

primary
#2F252A
secondary
#515F58
accent
#B59473
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#060405
muted
#7A7979

Preview Lab

Preview with #2F252A

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

Preview Lab → · Contrast checker → · Palette generator →

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