#2F0926#2F0926

#2F0926 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.1% C 0.074 H 338.6°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#2F0926
RGBrgb(47, 9, 38)
HSLhsl(314, 68%, 11%)
HSVhsv(314, 81%, 18%)
CMYKcmyk(0%, 80.9%, 19.1%, 81.6%)
CIE-LABlab(8.48, 23.16, -9.94)
CIE-LCHlch(8.48, 25.20, 336.78°)
OKLaboklab(22.07% 0.0685 -0.0269)
OKLCHoklch(22.07% 0.074 338.6)
XYZxyz(1.6199, 0.9398, 1.9294)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0926 #092F12
analogous
#25092F #2F0926 #2F0913
triadic
#2F0926 #262F09 #09262F
tetradic
#2F0926 #2F2509 #092F12 #09132F
square
#2F0926 #2F2509 #092F12 #09132F
split-complementary
#2F0926 #132F09 #092F25
monochromatic
#1A0515 #1A0515 #2F0926 #621350 #961D79

Accessibility & contrast

On white

17.68
#2F0926 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2F0926 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0926
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0926#FFFFFF#000000##FFFFFF
##2F09261.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1527
Deuteranopia (green-blind)
#171B25
Tritanopia (blue-blind)
#320A16
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0926;
/* rgb */ color: rgb(47, 9, 38);
/* oklch */ color: oklch(22.1% 0.074 338.6);
Tailwind
colors: {
  custom: {
    50: '#694c60',
    500: '#2f0926',
    950: '#000000',
  },
}
SCSS
$custom: #2f0926;
$custom-light: #694c60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0926",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 38
  },
  "hsl": {
    "h": 314.211,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2207,
    "c": 0.07356,
    "h": 338.6
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#2F0926
secondary
#276D37
accent
#EB663D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2F0926

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

Preview Lab → · Contrast checker → · Palette generator →

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