#2F0527#2F0527

#2F0527 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.6% C 0.082 H 336.8°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#2F0527
RGBrgb(47, 5, 39)
HSLhsl(311, 81%, 10%)
HSVhsv(311, 89%, 18%)
CMYKcmyk(0%, 89.4%, 17%, 81.6%)
CIE-LABlab(7.76, 25.52, -11.81)
CIE-LCHlch(7.76, 28.12, 335.17°)
OKLaboklab(21.57% 0.0752 -0.0322)
OKLCHoklch(21.57% 0.082 336.8)
XYZxyz(1.5928, 0.8595, 2.0011)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0527 #052F0D
analogous
#22052F #2F0527 #2F0512
triadic
#2F0527 #272F05 #05272F
tetradic
#2F0527 #2F2205 #052F0D #05122F
square
#2F0527 #2F2205 #052F0D #05122F
split-complementary
#2F0527 #122F05 #052F22
monochromatic
#1C0317 #1C0317 #2F0527 #660B55 #9E1183

Accessibility & contrast

On white

17.92
#2F0527 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F0527 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0527
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0527#FFFFFF#000000##FFFFFF
##2F05271.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061328
Deuteranopia (green-blind)
#141926
Tritanopia (blue-blind)
#320715
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0527;
/* rgb */ color: rgb(47, 5, 39);
/* oklch */ color: oklch(21.6% 0.082 336.8);
Tailwind
colors: {
  custom: {
    50: '#6a4961',
    500: '#2f0527',
    950: '#000000',
  },
}
SCSS
$custom: #2f0527;
$custom-light: #6a4961;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0527",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 39
  },
  "hsl": {
    "h": 311.429,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21569,
    "c": 0.08179,
    "h": 336.8
  },
  "luminance": 0.00859
}

Semantic roles & 50–950 ramp

primary
#2F0527
secondary
#1F712F
accent
#F75631
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #2F0527

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

Preview Lab → · Contrast checker → · Palette generator →

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