#2F0520#2F0520

#2F0520 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.2% C 0.076 H 345.7°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#2F0520
RGBrgb(47, 5, 32)
HSLhsl(321, 81%, 10%)
HSVhsv(321, 89%, 18%)
CMYKcmyk(0%, 89.4%, 31.9%, 81.6%)
CIE-LABlab(7.38, 24.27, -7.04)
CIE-LCHlch(7.38, 25.28, 343.82°)
OKLaboklab(21.15% 0.0739 -0.0188)
OKLCHoklch(21.15% 0.076 345.7)
XYZxyz(1.4873, 0.8173, 1.4457)
Luminance0.0082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0520 #052F14
analogous
#29052F #2F0520 #2F050B
triadic
#2F0520 #202F05 #05202F
tetradic
#2F0520 #2F2905 #052F14 #050B2F
square
#2F0520 #2F2905 #052F14 #050B2F
split-complementary
#2F0520 #0B2F05 #052F29
monochromatic
#1C0313 #1C0313 #2F0520 #660B46 #9E116B

Accessibility & contrast

On white

18.05
#2F0520 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2F0520 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0520
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0520#FFFFFF#000000##FFFFFF
##2F05201.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1221
Deuteranopia (green-blind)
#17191F
Tritanopia (blue-blind)
#330411
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0520;
/* rgb */ color: rgb(47, 5, 32);
/* oklch */ color: oklch(21.2% 0.076 345.7);
Tailwind
colors: {
  custom: {
    50: '#6a495b',
    500: '#2f0520',
    950: '#000000',
  },
}
SCSS
$custom: #2f0520;
$custom-light: #6a495b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0520",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 32
  },
  "hsl": {
    "h": 321.429,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21154,
    "c": 0.07624,
    "h": 345.7
  },
  "luminance": 0.00817
}

Semantic roles & 50–950 ramp

primary
#2F0520
secondary
#1F713C
accent
#F77831
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #2F0520

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

Preview Lab → · Contrast checker → · Palette generator →

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