#2F262C#2F262C

#2F262C is a dark, near-neutral pink. Relative luminance 0.022; OKLCH L 28.1% C 0.017 H 338.4°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#2F262C
RGBrgb(47, 38, 44)
HSLhsl(320, 11%, 17%)
HSVhsv(320, 19%, 18%)
CMYKcmyk(0%, 19.1%, 6.4%, 81.6%)
CIE-LABlab(16.37, 5.52, -2.37)
CIE-LCHlch(16.37, 6.01, 336.80°)
OKLaboklab(28.11% 0.0158 -0.0062)
OKLCHoklch(28.11% 0.017 338.4)
XYZxyz(2.3200, 2.1725, 2.6795)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F262C #262F29
analogous
#2E262F #2F262C #2F2628
triadic
#2F262C #2C2F26 #262C2F
tetradic
#2F262C #2F2E26 #262F29 #26282F
square
#2F262C #2F2E26 #262F29 #26282F
split-complementary
#2F262C #282F26 #262F2E
monochromatic
#110E10 #110E10 #2F262C #51414C #735D6B

Accessibility & contrast

On white

14.64
#2F262C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F262C
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F262C#FFFFFF#000000##FFFFFF
##2F262C1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282C
Deuteranopia (green-blind)
#28292C
Tritanopia (blue-blind)
#302628
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f262c;
/* rgb */ color: rgb(47, 38, 44);
/* oklch */ color: oklch(28.1% 0.017 338.4);
Tailwind
colors: {
  custom: {
    50: '#676065',
    500: '#2f262c',
    950: '#000000',
  },
}
SCSS
$custom: #2f262c;
$custom-light: #676065;
$custom-dark: #000000;
JSON
{
  "hex": "#2f262c",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 44
  },
  "hsl": {
    "h": 320,
    "s": 10.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28114,
    "c": 0.017,
    "h": 338.4
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#2F262C
secondary
#525F56
accent
#B48974
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060405
muted
#7A797A

Preview Lab

Preview with #2F262C

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

Preview Lab → · Contrast checker → · Palette generator →

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