#2F0B28#2F0B28

#2F0B28 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.072 H 336.2°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#2F0B28
RGBrgb(47, 11, 40)
HSLhsl(312, 62%, 11%)
HSVhsv(312, 77%, 18%)
CMYKcmyk(0%, 76.6%, 14.9%, 81.6%)
CIE-LABlab(8.97, 22.50, -10.69)
CIE-LCHlch(8.97, 24.91, 334.60°)
OKLaboklab(22.46% 0.0658 -0.029)
OKLCHoklch(22.46% 0.072 336.2)
XYZxyz(1.6750, 0.9970, 2.1113)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B28 #0B2F12
analogous
#240B2F #2F0B28 #2F0B16
triadic
#2F0B28 #282F0B #0B282F
tetradic
#2F0B28 #2F240B #0B2F12 #0B162F
square
#2F0B28 #2F240B #0B2F12 #0B162F
split-complementary
#2F0B28 #162F0B #0B2F24
monochromatic
#190615 #190615 #2F0B28 #611752 #92227C

Accessibility & contrast

On white

17.51
#2F0B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2F0B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0B28
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B28#FFFFFF#000000##FFFFFF
##2F0B281.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1629
Deuteranopia (green-blind)
#171B27
Tritanopia (blue-blind)
#320D18
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0b28;
/* rgb */ color: rgb(47, 11, 40);
/* oklch */ color: oklch(22.5% 0.072 336.2);
Tailwind
colors: {
  custom: {
    50: '#694d62',
    500: '#2f0b28',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b28;
$custom-light: #694d62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b28",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 40
  },
  "hsl": {
    "h": 311.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22462,
    "c": 0.0719,
    "h": 336.2
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#2F0B28
secondary
#2A6B37
accent
#E56243
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0B28

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

Preview Lab → · Contrast checker → · Palette generator →

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