#2F0526#2F0526

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

Color values

HEX#2F0526
RGBrgb(47, 5, 38)
HSLhsl(313, 81%, 10%)
HSVhsv(313, 89%, 18%)
CMYKcmyk(0%, 89.4%, 19.1%, 81.6%)
CIE-LABlab(7.71, 25.33, -11.14)
CIE-LCHlch(7.71, 27.67, 336.26°)
OKLaboklab(21.51% 0.0751 -0.0303)
OKLCHoklch(21.51% 0.081 338)
XYZxyz(1.5764, 0.8530, 1.9150)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0526 #052F0E
analogous
#23052F #2F0526 #2F0511
triadic
#2F0526 #262F05 #05262F
tetradic
#2F0526 #2F2305 #052F0E #05112F
square
#2F0526 #2F2305 #052F0E #05112F
split-complementary
#2F0526 #112F05 #052F23
monochromatic
#1C0316 #1C0316 #2F0526 #660B53 #9E117F

Accessibility & contrast

On white

17.94
#2F0526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0526
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0526#FFFFFF#000000##FFFFFF
##2F05261.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061327
Deuteranopia (green-blind)
#151925
Tritanopia (blue-blind)
#320714
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0526;
/* rgb */ color: rgb(47, 5, 38);
/* oklch */ color: oklch(21.5% 0.081 338.0);
Tailwind
colors: {
  custom: {
    50: '#6a4960',
    500: '#2f0526',
    950: '#000000',
  },
}
SCSS
$custom: #2f0526;
$custom-light: #6a4960;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0526",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 38
  },
  "hsl": {
    "h": 312.857,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21506,
    "c": 0.08094,
    "h": 338
  },
  "luminance": 0.00853
}

Semantic roles & 50–950 ramp

primary
#2F0526
secondary
#1F7131
accent
#F75B31
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #2F0526

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

Preview Lab → · Contrast checker → · Palette generator →

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