#2F0627#2F0627

#2F0627 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.7% C 0.080 H 336.9°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#2F0627
RGBrgb(47, 6, 39)
HSLhsl(312, 77%, 10%)
HSVhsv(312, 87%, 18%)
CMYKcmyk(0%, 87.2%, 17%, 81.6%)
CIE-LABlab(7.96, 24.97, -11.50)
CIE-LCHlch(7.96, 27.49, 335.27°)
OKLaboklab(21.71% 0.0735 -0.0313)
OKLCHoklch(21.71% 0.08 336.9)
XYZxyz(1.6037, 0.8812, 2.0047)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0627 #062F0E
analogous
#22062F #2F0627 #2F0612
triadic
#2F0627 #272F06 #06272F
tetradic
#2F0627 #2F2206 #062F0E #06122F
square
#2F0627 #2F2206 #062F0E #06122F
split-complementary
#2F0627 #122F06 #062F22
monochromatic
#1B0317 #1B0317 #2F0627 #650D54 #9C1481

Accessibility & contrast

On white

17.85
#2F0627 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0627
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0627#FFFFFF#000000##FFFFFF
##2F06271.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071328
Deuteranopia (green-blind)
#151A26
Tritanopia (blue-blind)
#320815
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0627;
/* rgb */ color: rgb(47, 6, 39);
/* oklch */ color: oklch(21.7% 0.080 336.9);
Tailwind
colors: {
  custom: {
    50: '#6a4a61',
    500: '#2f0627',
    950: '#000000',
  },
}
SCSS
$custom: #2f0627;
$custom-light: #6a4a61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0627",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 39
  },
  "hsl": {
    "h": 311.707,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21712,
    "c": 0.07989,
    "h": 336.9
  },
  "luminance": 0.00881
}

Semantic roles & 50–950 ramp

primary
#2F0627
secondary
#217030
accent
#F45934
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0627

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

Preview Lab → · Contrast checker → · Palette generator →

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