#2F262A#2F262A

#2F262A is a dark, near-neutral pink. Relative luminance 0.022; OKLCH L 28.0% C 0.015 H 349.6°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#2F262A
RGBrgb(47, 38, 42)
HSLhsl(333, 11%, 17%)
HSVhsv(333, 19%, 18%)
CMYKcmyk(0%, 19.1%, 10.6%, 81.6%)
CIE-LABlab(16.29, 5.07, -1.06)
CIE-LCHlch(16.29, 5.18, 348.19°)
OKLaboklab(28.03% 0.0149 -0.0027)
OKLCHoklch(28.03% 0.015 349.6)
XYZxyz(2.2833, 2.1578, 2.4863)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F262A #262F2B
analogous
#2F262F #2F262A #2F2726
triadic
#2F262A #2A2F26 #262A2F
tetradic
#2F262A #2F2F26 #262F2B #27262F
square
#2F262A #2F2F26 #262F2B #27262F
split-complementary
#2F262A #262F27 #262F2F
monochromatic
#110E0F #110E0F #2F262A #514148 #735D66

Accessibility & contrast

On white

14.67
#2F262A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2F262A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F262A
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F262A#FFFFFF#000000##FFFFFF
##2F262A1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282A
Deuteranopia (green-blind)
#29292A
Tritanopia (blue-blind)
#302627
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f262a;
/* rgb */ color: rgb(47, 38, 42);
/* oklch */ color: oklch(28.0% 0.015 349.6);
Tailwind
colors: {
  custom: {
    50: '#676063',
    500: '#2f262a',
    950: '#000000',
  },
}
SCSS
$custom: #2f262a;
$custom-light: #676063;
$custom-dark: #000000;
JSON
{
  "hex": "#2f262a",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 42
  },
  "hsl": {
    "h": 333.333,
    "s": 10.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28033,
    "c": 0.01512,
    "h": 349.6
  },
  "luminance": 0.02158
}

Semantic roles & 50–950 ramp

primary
#2F262A
secondary
#525F59
accent
#B49774
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#060405
muted
#7A7979

Preview Lab

Preview with #2F262A

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

Preview Lab → · Contrast checker → · Palette generator →

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