#2F1028#2F1028

#2F1028 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.2% C 0.062 H 336.9°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#2F1028
RGBrgb(47, 16, 40)
HSLhsl(314, 49%, 12%)
HSVhsv(314, 66%, 18%)
CMYKcmyk(0%, 66%, 14.9%, 81.6%)
CIE-LABlab(10.02, 19.65, -9.06)
CIE-LCHlch(10.02, 21.64, 335.25°)
OKLaboklab(23.24% 0.0574 -0.0245)
OKLCHoklch(23.24% 0.062 336.9)
XYZxyz(1.7406, 1.1283, 2.1332)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1028 #102F17
analogous
#26102F #2F1028 #2F1019
triadic
#2F1028 #282F10 #10282F
tetradic
#2F1028 #2F2610 #102F17 #10192F
square
#2F1028 #2F2610 #102F17 #10192F
split-complementary
#2F1028 #192F10 #102F26
monochromatic
#170813 #170813 #2F1028 #5D204F #8A2F76

Accessibility & contrast

On white

17.13
#2F1028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F1028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1028
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1028#FFFFFF#000000##FFFFFF
##2F10281.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111929
Deuteranopia (green-blind)
#1A1D27
Tritanopia (blue-blind)
#32111A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f1028;
/* rgb */ color: rgb(47, 16, 40);
/* oklch */ color: oklch(23.2% 0.062 336.9);
Tailwind
colors: {
  custom: {
    50: '#695062',
    500: '#2f1028',
    950: '#000000',
  },
}
SCSS
$custom: #2f1028;
$custom-light: #695062;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1028",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 40
  },
  "hsl": {
    "h": 313.548,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23235,
    "c": 0.06237,
    "h": 336.9
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#2F1028
secondary
#33683F
accent
#D96E4F
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2F1028

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

Preview Lab → · Contrast checker → · Palette generator →

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