#2F0A26#2F0A26

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

Color values

HEX#2F0A26
RGBrgb(47, 10, 38)
HSLhsl(315, 65%, 11%)
HSVhsv(315, 79%, 18%)
CMYKcmyk(0%, 78.7%, 19.1%, 81.6%)
CIE-LABlab(8.67, 22.64, -9.65)
CIE-LCHlch(8.67, 24.61, 336.92°)
OKLaboklab(22.21% 0.0669 -0.0261)
OKLCHoklch(22.21% 0.072 338.7)
XYZxyz(1.6307, 0.9615, 1.9331)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A26 #0A2F13
analogous
#250A2F #2F0A26 #2F0A13
triadic
#2F0A26 #262F0A #0A262F
tetradic
#2F0A26 #2F250A #0A2F13 #0A132F
square
#2F0A26 #2F250A #0A2F13 #0A132F
split-complementary
#2F0A26 #132F0A #0A2F25
monochromatic
#190514 #190514 #2F0A26 #61154F #941F78

Accessibility & contrast

On white

17.61
#2F0A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A26
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A26#FFFFFF#000000##FFFFFF
##2F0A261.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1527
Deuteranopia (green-blind)
#171B25
Tritanopia (blue-blind)
#320B16
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0a26;
/* rgb */ color: rgb(47, 10, 38);
/* oklch */ color: oklch(22.2% 0.072 338.7);
Tailwind
colors: {
  custom: {
    50: '#694c60',
    500: '#2f0a26',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a26;
$custom-light: #694c60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a26",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 38
  },
  "hsl": {
    "h": 314.595,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22207,
    "c": 0.07182,
    "h": 338.7
  },
  "luminance": 0.00961
}

Semantic roles & 50–950 ramp

primary
#2F0A26
secondary
#296C39
accent
#E86940
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2F0A26

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

Preview Lab → · Contrast checker → · Palette generator →

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