#2F0518#2F0518

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

Color values

HEX#2F0518
RGBrgb(47, 5, 24)
HSLhsl(333, 81%, 10%)
HSVhsv(333, 89%, 18%)
CMYKcmyk(0%, 89.4%, 48.9%, 81.6%)
CIE-LABlab(7.04, 23.02, -1.33)
CIE-LCHlch(7.04, 23.06, 356.70°)
OKLaboklab(20.76% 0.0713 -0.0034)
OKLCHoklch(20.76% 0.071 357.3)
XYZxyz(1.3915, 0.7790, 0.9411)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0518 #052F1C
analogous
#2F052D #2F0518 #2F0705
triadic
#2F0518 #182F05 #05182F
tetradic
#2F0518 #2D2F05 #052F1C #07052F
square
#2F0518 #2D2F05 #052F1C #07052F
split-complementary
#2F0518 #052F07 #052D2F
monochromatic
#1C030E #1C030E #2F0518 #660B34 #9E1150

Accessibility & contrast

On white

18.17
#2F0518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0518
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0518#FFFFFF#000000##FFFFFF
##2F05181.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1019
Deuteranopia (green-blind)
#191817
Tritanopia (blue-blind)
#34020D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0518;
/* rgb */ color: rgb(47, 5, 24);
/* oklch */ color: oklch(20.8% 0.071 357.3);
Tailwind
colors: {
  custom: {
    50: '#6a4954',
    500: '#2f0518',
    950: '#000000',
  },
}
SCSS
$custom: #2f0518;
$custom-light: #6a4954;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0518",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 24
  },
  "hsl": {
    "h": 332.857,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20762,
    "c": 0.07136,
    "h": 357.3
  },
  "luminance": 0.00779
}

Semantic roles & 50–950 ramp

primary
#2F0518
secondary
#1F714C
accent
#F79D31
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0518

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

Preview Lab → · Contrast checker → · Palette generator →

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