#2F0522#2F0522

#2F0522 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.3% C 0.078 H 343.1°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#2F0522
RGBrgb(47, 5, 34)
HSLhsl(319, 81%, 10%)
HSVhsv(319, 89%, 18%)
CMYKcmyk(0%, 89.4%, 27.7%, 81.6%)
CIE-LABlab(7.48, 24.62, -8.43)
CIE-LCHlch(7.48, 26.02, 341.10°)
OKLaboklab(21.27% 0.0744 -0.0226)
OKLCHoklch(21.27% 0.078 343.1)
XYZxyz(1.5154, 0.8285, 1.5932)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0522 #052F12
analogous
#27052F #2F0522 #2F050D
triadic
#2F0522 #222F05 #05222F
tetradic
#2F0522 #2F2705 #052F12 #050D2F
square
#2F0522 #2F2705 #052F12 #050D2F
split-complementary
#2F0522 #0D2F05 #052F27
monochromatic
#1C0314 #1C0314 #2F0522 #660B4A #9E1172

Accessibility & contrast

On white

18.02
#2F0522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0522
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0522#FFFFFF#000000##FFFFFF
##2F05221.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091223
Deuteranopia (green-blind)
#161921
Tritanopia (blue-blind)
#330512
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0522;
/* rgb */ color: rgb(47, 5, 34);
/* oklch */ color: oklch(21.3% 0.078 343.1);
Tailwind
colors: {
  custom: {
    50: '#6a495d',
    500: '#2f0522',
    950: '#000000',
  },
}
SCSS
$custom: #2f0522;
$custom-light: #6a495d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0522",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 34
  },
  "hsl": {
    "h": 318.571,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21266,
    "c": 0.07772,
    "h": 343.1
  },
  "luminance": 0.00828
}

Semantic roles & 50–950 ramp

primary
#2F0522
secondary
#1F7138
accent
#F76E31
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #2F0522

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

Preview Lab → · Contrast checker → · Palette generator →

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