#2F0517#2F0517

#2F0517 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.7% C 0.071 H 358.8°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#2F0517
RGBrgb(47, 5, 23)
HSLhsl(334, 81%, 10%)
HSVhsv(334, 89%, 18%)
CMYKcmyk(0%, 89.4%, 51.1%, 81.6%)
CIE-LABlab(7.00, 22.88, -0.62)
CIE-LCHlch(7.00, 22.89, 358.44°)
OKLaboklab(20.72% 0.0709 -0.0015)
OKLCHoklch(20.72% 0.071 358.8)
XYZxyz(1.3813, 0.7749, 0.8873)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0517 #052F1D
analogous
#2F052C #2F0517 #2F0805
triadic
#2F0517 #172F05 #05172F
tetradic
#2F0517 #2C2F05 #052F1D #08052F
square
#2F0517 #2C2F05 #052F1D #08052F
split-complementary
#2F0517 #052F08 #052C2F
monochromatic
#1C030E #1C030E #2F0517 #660B32 #9E114D

Accessibility & contrast

On white

18.18
#2F0517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0517
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0517#FFFFFF#000000##FFFFFF
##2F05171.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1017
Deuteranopia (green-blind)
#191816
Tritanopia (blue-blind)
#34010C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0517;
/* rgb */ color: rgb(47, 5, 23);
/* oklch */ color: oklch(20.7% 0.071 358.8);
Tailwind
colors: {
  custom: {
    50: '#6a4953',
    500: '#2f0517',
    950: '#000000',
  },
}
SCSS
$custom: #2f0517;
$custom-light: #6a4953;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0517",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 23
  },
  "hsl": {
    "h": 334.286,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20719,
    "c": 0.0709,
    "h": 358.8
  },
  "luminance": 0.00775
}

Semantic roles & 50–950 ramp

primary
#2F0517
secondary
#1F714E
accent
#F7A231
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0517

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

Preview Lab → · Contrast checker → · Palette generator →

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