#2F0326#2F0326

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

Color values

HEX#2F0326
RGBrgb(47, 3, 38)
HSLhsl(312, 88%, 10%)
HSVhsv(312, 94%, 18%)
CMYKcmyk(0%, 93.6%, 19.1%, 81.6%)
CIE-LABlab(7.31, 26.44, -11.75)
CIE-LCHlch(7.31, 28.93, 336.04°)
OKLaboklab(21.21% 0.0786 -0.0321)
OKLCHoklch(21.21% 0.085 337.8)
XYZxyz(1.5547, 0.8096, 1.9077)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0326 #032F0C
analogous
#22032F #2F0326 #2F0310
triadic
#2F0326 #262F03 #03262F
tetradic
#2F0326 #2F2203 #032F0C #03102F
square
#2F0326 #2F2203 #032F0C #03102F
split-complementary
#2F0326 #102F03 #032F22
monochromatic
#1D0217 #1D0217 #2F0326 #690755 #A20A83

Accessibility & contrast

On white

18.08
#2F0326 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0326
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0326#FFFFFF#000000##FFFFFF
##2F03261.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041227
Deuteranopia (green-blind)
#141925
Tritanopia (blue-blind)
#320513
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0326;
/* rgb */ color: rgb(47, 3, 38);
/* oklch */ color: oklch(21.2% 0.085 337.8);
Tailwind
colors: {
  custom: {
    50: '#6a4860',
    500: '#2f0326',
    950: '#000000',
  },
}
SCSS
$custom: #2f0326;
$custom-light: #6a4860;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0326",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 38
  },
  "hsl": {
    "h": 312.273,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21212,
    "c": 0.0849,
    "h": 337.8
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#2F0326
secondary
#1B732D
accent
#FE552A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #2F0326

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

Preview Lab → · Contrast checker → · Palette generator →

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