#2F0928#2F0928

#2F0928 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.2% C 0.075 H 336.0°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#2F0928
RGBrgb(47, 9, 40)
HSLhsl(311, 68%, 11%)
HSVhsv(311, 81%, 18%)
CMYKcmyk(0%, 80.9%, 14.9%, 81.6%)
CIE-LABlab(8.59, 23.53, -11.27)
CIE-LCHlch(8.59, 26.09, 334.42°)
OKLaboklab(22.19% 0.0688 -0.0306)
OKLCHoklch(22.19% 0.075 336)
XYZxyz(1.6530, 0.9531, 2.1040)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0928 #092F10
analogous
#23092F #2F0928 #2F0915
triadic
#2F0928 #282F09 #09282F
tetradic
#2F0928 #2F2309 #092F10 #09152F
square
#2F0928 #2F2309 #092F10 #09152F
split-complementary
#2F0928 #152F09 #092F23
monochromatic
#1A0516 #1A0516 #2F0928 #621354 #961D7F

Accessibility & contrast

On white

17.64
#2F0928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2F0928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0928
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0928#FFFFFF#000000##FFFFFF
##2F09281.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091529
Deuteranopia (green-blind)
#161B27
Tritanopia (blue-blind)
#320B17
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0928;
/* rgb */ color: rgb(47, 9, 40);
/* oklch */ color: oklch(22.2% 0.075 336.0);
Tailwind
colors: {
  custom: {
    50: '#694c62',
    500: '#2f0928',
    950: '#000000',
  },
}
SCSS
$custom: #2f0928;
$custom-light: #694c62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0928",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 40
  },
  "hsl": {
    "h": 311.053,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22191,
    "c": 0.07535,
    "h": 336
  },
  "luminance": 0.00953
}

Semantic roles & 50–950 ramp

primary
#2F0928
secondary
#276D34
accent
#EB5D3D
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0928

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

Preview Lab → · Contrast checker → · Palette generator →

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