#2F0826#2F0826

#2F0826 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.9% C 0.075 H 338.4°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#2F0826
RGBrgb(47, 8, 38)
HSLhsl(314, 71%, 11%)
HSVhsv(314, 83%, 18%)
CMYKcmyk(0%, 83%, 19.1%, 81.6%)
CIE-LABlab(8.29, 23.69, -10.23)
CIE-LCHlch(8.29, 25.80, 336.64°)
OKLaboklab(21.93% 0.0701 -0.0277)
OKLCHoklch(21.93% 0.075 338.4)
XYZxyz(1.6090, 0.9181, 1.9258)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0826 #082F11
analogous
#24082F #2F0826 #2F0812
triadic
#2F0826 #262F08 #08262F
tetradic
#2F0826 #2F2408 #082F11 #08122F
square
#2F0826 #2F2408 #082F11 #08122F
split-complementary
#2F0826 #122F08 #082F24
monochromatic
#1A0415 #1A0415 #2F0826 #631150 #981A7B

Accessibility & contrast

On white

17.74
#2F0826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2F0826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0826
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0826#FFFFFF#000000##FFFFFF
##2F08261.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1427
Deuteranopia (green-blind)
#161A25
Tritanopia (blue-blind)
#320A15
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0826;
/* rgb */ color: rgb(47, 8, 38);
/* oklch */ color: oklch(21.9% 0.075 338.4);
Tailwind
colors: {
  custom: {
    50: '#694b60',
    500: '#2f0826',
    950: '#000000',
  },
}
SCSS
$custom: #2f0826;
$custom-light: #694b60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0826",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 38
  },
  "hsl": {
    "h": 313.846,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21932,
    "c": 0.07535,
    "h": 338.4
  },
  "luminance": 0.00918
}

Semantic roles & 50–950 ramp

primary
#2F0826
secondary
#256E36
accent
#EE643A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2F0826

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

Preview Lab → · Contrast checker → · Palette generator →

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