#2F0727#2F0727

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

Color values

HEX#2F0727
RGBrgb(47, 7, 39)
HSLhsl(312, 74%, 11%)
HSVhsv(312, 85%, 18%)
CMYKcmyk(0%, 85.1%, 17%, 81.6%)
CIE-LABlab(8.15, 24.41, -11.20)
CIE-LCHlch(8.15, 26.86, 335.36°)
OKLaboklab(21.85% 0.0719 -0.0304)
OKLCHoklch(21.85% 0.078 337)
XYZxyz(1.6145, 0.9029, 2.0083)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0727 #072F0F
analogous
#23072F #2F0727 #2F0713
triadic
#2F0727 #272F07 #07272F
tetradic
#2F0727 #2F2307 #072F0F #07132F
square
#2F0727 #2F2307 #072F0F #07132F
split-complementary
#2F0727 #132F07 #072F23
monochromatic
#1B0416 #1B0416 #2F0727 #640F53 #9A177F

Accessibility & contrast

On white

17.79
#2F0727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0727
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0727#FFFFFF#000000##FFFFFF
##2F07271.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081428
Deuteranopia (green-blind)
#151A26
Tritanopia (blue-blind)
#320916
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0727;
/* rgb */ color: rgb(47, 7, 39);
/* oklch */ color: oklch(21.9% 0.078 337.0);
Tailwind
colors: {
  custom: {
    50: '#694b61',
    500: '#2f0727',
    950: '#000000',
  },
}
SCSS
$custom: #2f0727;
$custom-light: #694b61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0727",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 39
  },
  "hsl": {
    "h": 312,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21853,
    "c": 0.07804,
    "h": 337
  },
  "luminance": 0.00903
}

Semantic roles & 50–950 ramp

primary
#2F0727
secondary
#236F32
accent
#F15C37
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0727

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

Preview Lab → · Contrast checker → · Palette generator →

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