#2F0C26#2F0C26

#2F0C26 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.068 H 339.1°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#2F0C26
RGBrgb(47, 12, 38)
HSLhsl(315, 59%, 12%)
HSVhsv(315, 74%, 18%)
CMYKcmyk(0%, 74.5%, 19.1%, 81.6%)
CIE-LABlab(9.05, 21.57, -9.05)
CIE-LCHlch(9.05, 23.39, 337.24°)
OKLaboklab(22.49% 0.0637 -0.0244)
OKLCHoklch(22.49% 0.068 339.1)
XYZxyz(1.6536, 1.0074, 1.9407)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C26 #0C2F15
analogous
#270C2F #2F0C26 #2F0C15
triadic
#2F0C26 #262F0C #0C262F
tetradic
#2F0C26 #2F270C #0C2F15 #0C152F
square
#2F0C26 #2F270C #0C2F15 #0C152F
split-complementary
#2F0C26 #152F0C #0C2F27
monochromatic
#180614 #180614 #2F0C26 #60184D #912575

Accessibility & contrast

On white

17.48
#2F0C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2F0C26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0C26
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C26#FFFFFF#000000##FFFFFF
##2F0C261.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1627
Deuteranopia (green-blind)
#181C25
Tritanopia (blue-blind)
#320D17
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0c26;
/* rgb */ color: rgb(47, 12, 38);
/* oklch */ color: oklch(22.5% 0.068 339.1);
Tailwind
colors: {
  custom: {
    50: '#694d60',
    500: '#2f0c26',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c26;
$custom-light: #694d60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c26",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 38
  },
  "hsl": {
    "h": 315.429,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22489,
    "c": 0.06825,
    "h": 339.1
  },
  "luminance": 0.01007
}

Semantic roles & 50–950 ramp

primary
#2F0C26
secondary
#2C6B3C
accent
#E36E45
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2F0C26

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

Preview Lab → · Contrast checker → · Palette generator →

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