#2F0528#2F0528

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

Color values

HEX#2F0528
RGBrgb(47, 5, 40)
HSLhsl(310, 81%, 10%)
HSVhsv(310, 89%, 18%)
CMYKcmyk(0%, 89.4%, 14.9%, 81.6%)
CIE-LABlab(7.82, 25.71, -12.47)
CIE-LCHlch(7.82, 28.57, 334.13°)
OKLaboklab(21.63% 0.0753 -0.034)
OKLCHoklch(21.63% 0.083 335.7)
XYZxyz(1.6096, 0.8662, 2.0895)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0528 #052F0C
analogous
#21052F #2F0528 #2F0513
triadic
#2F0528 #282F05 #05282F
tetradic
#2F0528 #2F2105 #052F0C #05132F
square
#2F0528 #2F2105 #052F0C #05132F
split-complementary
#2F0528 #132F05 #052F21
monochromatic
#1C0318 #1C0318 #2F0528 #660B57 #9E1186

Accessibility & contrast

On white

17.90
#2F0528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0528
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0528#FFFFFF#000000##FFFFFF
##2F05281.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051329
Deuteranopia (green-blind)
#141927
Tritanopia (blue-blind)
#320815
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0528;
/* rgb */ color: rgb(47, 5, 40);
/* oklch */ color: oklch(21.6% 0.083 335.7);
Tailwind
colors: {
  custom: {
    50: '#6a4962',
    500: '#2f0528',
    950: '#000000',
  },
}
SCSS
$custom: #2f0528;
$custom-light: #6a4962;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0528",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 40
  },
  "hsl": {
    "h": 310,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21634,
    "c": 0.08264,
    "h": 335.7
  },
  "luminance": 0.00866
}

Semantic roles & 50–950 ramp

primary
#2F0528
secondary
#1F712D
accent
#F75231
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #2F0528

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

Preview Lab → · Contrast checker → · Palette generator →

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