#2F1026#2F1026

#2F1026 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.1% C 0.060 H 340.0°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#2F1026
RGBrgb(47, 16, 38)
HSLhsl(317, 49%, 12%)
HSVhsv(317, 66%, 18%)
CMYKcmyk(0%, 66%, 19.1%, 81.6%)
CIE-LABlab(9.91, 19.25, -7.72)
CIE-LCHlch(9.91, 20.74, 338.14°)
OKLaboklab(23.13% 0.0568 -0.0207)
OKLCHoklch(23.13% 0.06 340)
XYZxyz(1.7075, 1.1150, 1.9586)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1026 #102F19
analogous
#28102F #2F1026 #2F1017
triadic
#2F1026 #262F10 #10262F
tetradic
#2F1026 #2F2810 #102F19 #10172F
square
#2F1026 #2F2810 #102F19 #10172F
split-complementary
#2F1026 #172F10 #102F28
monochromatic
#170812 #170812 #2F1026 #5D204B #8A2F70

Accessibility & contrast

On white

17.17
#2F1026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2F1026 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1026
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1026#FFFFFF#000000##FFFFFF
##2F10261.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111827
Deuteranopia (green-blind)
#1A1D25
Tritanopia (blue-blind)
#321119
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f1026;
/* rgb */ color: rgb(47, 16, 38);
/* oklch */ color: oklch(23.1% 0.060 340.0);
Tailwind
colors: {
  custom: {
    50: '#695060',
    500: '#2f1026',
    950: '#000000',
  },
}
SCSS
$custom: #2f1026;
$custom-light: #695060;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1026",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 38
  },
  "hsl": {
    "h": 317.419,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23125,
    "c": 0.06047,
    "h": 340
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#2F1026
secondary
#336842
accent
#D9774F
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060204
muted
#7A7879

Preview Lab

Preview with #2F1026

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

Preview Lab → · Contrast checker → · Palette generator →

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