#2D262B#2D262B

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

Color values

HEX#2D262B
RGBrgb(45, 38, 43)
HSLhsl(317, 8%, 16%)
HSVhsv(317, 16%, 18%)
CMYKcmyk(0%, 15.6%, 4.4%, 82.4%)
CIE-LABlab(16.10, 4.39, -2.09)
CIE-LCHlch(16.10, 4.86, 334.57°)
OKLaboklab(27.84% 0.0125 -0.0055)
OKLCHoklch(27.84% 0.014 336.1)
XYZxyz(2.2113, 2.1186, 2.5775)
Luminance0.0212 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D262B #262D28
analogous
#2C262D #2D262B #2D2628
triadic
#2D262B #2B2D26 #262B2D
tetradic
#2D262B #2D2C26 #262D28 #26282D
square
#2D262B #2D2C26 #262D28 #26282D
split-complementary
#2D262B #282D26 #262D2C
monochromatic
#110E10 #110E10 #2D262B #4E424B #6F5E6A

Accessibility & contrast

On white

14.75
#2D262B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D262B
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D262B#FFFFFF#000000##FFFFFF
##2D262B1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26272B
Deuteranopia (green-blind)
#28282B
Tritanopia (blue-blind)
#2E2628
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d262b;
/* rgb */ color: rgb(45, 38, 43);
/* oklch */ color: oklch(27.8% 0.014 336.1);
Tailwind
colors: {
  custom: {
    50: '#656064',
    500: '#2d262b',
    950: '#000000',
  },
}
SCSS
$custom: #2d262b;
$custom-light: #656064;
$custom-dark: #000000;
JSON
{
  "hex": "#2d262b",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 43
  },
  "hsl": {
    "h": 317.143,
    "s": 8.434,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27837,
    "c": 0.01362,
    "h": 336.1
  },
  "luminance": 0.02119
}

Semantic roles & 50–950 ramp

primary
#2D262B
secondary
#525D55
accent
#B18776
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#050405
muted
#7A7979

Preview Lab

Preview with #2D262B

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

Preview Lab → · Contrast checker → · Palette generator →

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