#2F262D#2F262D

#2F262D is a dark, near-neutral pink. Relative luminance 0.022; OKLCH L 28.2% C 0.018 H 333.8°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#2F262D
RGBrgb(47, 38, 45)
HSLhsl(313, 11%, 17%)
HSVhsv(313, 19%, 18%)
CMYKcmyk(0%, 19.1%, 4.3%, 81.6%)
CIE-LABlab(16.41, 5.76, -3.02)
CIE-LCHlch(16.41, 6.50, 332.33°)
OKLaboklab(28.16% 0.0163 -0.008)
OKLCHoklch(28.16% 0.018 333.8)
XYZxyz(2.3390, 2.1801, 2.7797)
Luminance0.0218 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F262D #262F28
analogous
#2D262F #2F262D #2F2629
triadic
#2F262D #2D2F26 #262D2F
tetradic
#2F262D #2F2D26 #262F28 #26292F
square
#2F262D #2F2D26 #262F28 #26292F
split-complementary
#2F262D #292F26 #262F2D
monochromatic
#110E10 #110E10 #2F262D #51414D #735D6E

Accessibility & contrast

On white

14.62
#2F262D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2F262D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F262D
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F262D#FFFFFF#000000##FFFFFF
##2F262D1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f262d;
/* rgb */ color: rgb(47, 38, 45);
/* oklch */ color: oklch(28.2% 0.018 333.8);
Tailwind
colors: {
  custom: {
    50: '#676065',
    500: '#2f262d',
    950: '#000000',
  },
}
SCSS
$custom: #2f262d;
$custom-light: #676065;
$custom-dark: #000000;
JSON
{
  "hex": "#2f262d",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 45
  },
  "hsl": {
    "h": 313.333,
    "s": 10.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28156,
    "c": 0.01814,
    "h": 333.8
  },
  "luminance": 0.0218
}

Semantic roles & 50–950 ramp

primary
#2F262D
secondary
#525F55
accent
#B48274
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060405
muted
#7A797A

Preview Lab

Preview with #2F262D

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

Preview Lab → · Contrast checker → · Palette generator →

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