#2F0726#2F0726

#2F0726 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.8% C 0.077 H 338.3°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#2F0726
RGBrgb(47, 7, 38)
HSLhsl(314, 74%, 11%)
HSVhsv(314, 85%, 18%)
CMYKcmyk(0%, 85.1%, 19.1%, 81.6%)
CIE-LABlab(8.10, 24.23, -10.53)
CIE-LCHlch(8.10, 26.42, 336.51°)
OKLaboklab(21.79% 0.0717 -0.0285)
OKLCHoklch(21.79% 0.077 338.3)
XYZxyz(1.5982, 0.8964, 1.9222)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0726 #072F10
analogous
#24072F #2F0726 #2F0712
triadic
#2F0726 #262F07 #07262F
tetradic
#2F0726 #2F2407 #072F10 #07122F
square
#2F0726 #2F2407 #072F10 #07122F
split-complementary
#2F0726 #122F07 #072F24
monochromatic
#1B0416 #1B0416 #2F0726 #640F51 #9A177C

Accessibility & contrast

On white

17.81
#2F0726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0726
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0726#FFFFFF#000000##FFFFFF
##2F07261.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091427
Deuteranopia (green-blind)
#161A25
Tritanopia (blue-blind)
#320915
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0726;
/* rgb */ color: rgb(47, 7, 38);
/* oklch */ color: oklch(21.8% 0.077 338.3);
Tailwind
colors: {
  custom: {
    50: '#694a60',
    500: '#2f0726',
    950: '#000000',
  },
}
SCSS
$custom: #2f0726;
$custom-light: #694a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0726",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 38
  },
  "hsl": {
    "h": 313.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21792,
    "c": 0.07717,
    "h": 338.3
  },
  "luminance": 0.00896
}

Semantic roles & 50–950 ramp

primary
#2F0726
secondary
#236F34
accent
#F16137
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0726

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

Preview Lab → · Contrast checker → · Palette generator →

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