#2F0628#2F0628

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

Color values

HEX#2F0628
RGBrgb(47, 6, 40)
HSLhsl(310, 77%, 10%)
HSVhsv(310, 87%, 18%)
CMYKcmyk(0%, 87.2%, 14.9%, 81.6%)
CIE-LABlab(8.02, 25.15, -12.16)
CIE-LCHlch(8.02, 27.94, 334.19°)
OKLaboklab(21.78% 0.0736 -0.0332)
OKLCHoklch(21.78% 0.081 335.7)
XYZxyz(1.6204, 0.8879, 2.0931)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0628 #062F0D
analogous
#21062F #2F0628 #2F0613
triadic
#2F0628 #282F06 #06282F
tetradic
#2F0628 #2F2106 #062F0D #06132F
square
#2F0628 #2F2106 #062F0D #06132F
split-complementary
#2F0628 #132F06 #062F21
monochromatic
#1B0317 #1B0317 #2F0628 #650D56 #9C1484

Accessibility & contrast

On white

17.83
#2F0628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0628
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0628#FFFFFF#000000##FFFFFF
##2F06281.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0628;
/* rgb */ color: rgb(47, 6, 40);
/* oklch */ color: oklch(21.8% 0.081 335.7);
Tailwind
colors: {
  custom: {
    50: '#694a62',
    500: '#2f0628',
    950: '#000000',
  },
}
SCSS
$custom: #2f0628;
$custom-light: #694a62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0628",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 40
  },
  "hsl": {
    "h": 310.244,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21776,
    "c": 0.08076,
    "h": 335.7
  },
  "luminance": 0.00888
}

Semantic roles & 50–950 ramp

primary
#2F0628
secondary
#21702F
accent
#F45534
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0628

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

Preview Lab → · Contrast checker → · Palette generator →

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