#2F0728#2F0728

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

Color values

HEX#2F0728
RGBrgb(47, 7, 40)
HSLhsl(311, 74%, 11%)
HSVhsv(311, 85%, 18%)
CMYKcmyk(0%, 85.1%, 14.9%, 81.6%)
CIE-LABlab(8.21, 24.60, -11.86)
CIE-LCHlch(8.21, 27.31, 334.27°)
OKLaboklab(21.92% 0.072 -0.0323)
OKLCHoklch(21.92% 0.079 335.8)
XYZxyz(1.6313, 0.9096, 2.0967)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0728 #072F0E
analogous
#22072F #2F0728 #2F0714
triadic
#2F0728 #282F07 #07282F
tetradic
#2F0728 #2F2207 #072F0E #07142F
square
#2F0728 #2F2207 #072F0E #07142F
split-complementary
#2F0728 #142F07 #072F22
monochromatic
#1B0417 #1B0417 #2F0728 #640F55 #9A1783

Accessibility & contrast

On white

17.77
#2F0728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0728
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0728#FFFFFF#000000##FFFFFF
##2F07281.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0728;
/* rgb */ color: rgb(47, 7, 40);
/* oklch */ color: oklch(21.9% 0.079 335.8);
Tailwind
colors: {
  custom: {
    50: '#694b62',
    500: '#2f0728',
    950: '#000000',
  },
}
SCSS
$custom: #2f0728;
$custom-light: #694b62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0728",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 40
  },
  "hsl": {
    "h": 310.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21916,
    "c": 0.07892,
    "h": 335.8
  },
  "luminance": 0.00909
}

Semantic roles & 50–950 ramp

primary
#2F0728
secondary
#236F30
accent
#F15837
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0728

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

Preview Lab → · Contrast checker → · Palette generator →

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