#2F1029#2F1029

#2F1029 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.3% C 0.063 H 335.4°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#2F1029
RGBrgb(47, 16, 41)
HSLhsl(312, 49%, 12%)
HSVhsv(312, 66%, 18%)
CMYKcmyk(0%, 66%, 12.8%, 81.6%)
CIE-LABlab(10.07, 19.86, -9.72)
CIE-LCHlch(10.07, 22.11, 333.91°)
OKLaboklab(23.29% 0.0576 -0.0263)
OKLCHoklch(23.29% 0.063 335.4)
XYZxyz(1.7578, 1.1351, 2.2239)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1029 #102F16
analogous
#26102F #2F1029 #2F101A
triadic
#2F1029 #292F10 #10292F
tetradic
#2F1029 #2F2610 #102F16 #101A2F
square
#2F1029 #2F2610 #102F16 #101A2F
split-complementary
#2F1029 #1A2F10 #102F26
monochromatic
#170814 #170814 #2F1029 #5D2051 #8A2F79

Accessibility & contrast

On white

17.11
#2F1029 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F1029
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1029#FFFFFF#000000##FFFFFF
##2F10291.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10192A
Deuteranopia (green-blind)
#191D28
Tritanopia (blue-blind)
#32121A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f1029;
/* rgb */ color: rgb(47, 16, 41);
/* oklch */ color: oklch(23.3% 0.063 335.4);
Tailwind
colors: {
  custom: {
    50: '#695062',
    500: '#2f1029',
    950: '#000000',
  },
}
SCSS
$custom: #2f1029;
$custom-light: #695062;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1029",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 41
  },
  "hsl": {
    "h": 311.613,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23291,
    "c": 0.06336,
    "h": 335.4
  },
  "luminance": 0.01135
}

Semantic roles & 50–950 ramp

primary
#2F1029
secondary
#33683D
accent
#D96A4F
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2F1029

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

Preview Lab → · Contrast checker → · Palette generator →

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