#2F0D27#2F0D27

#2F0D27 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.7% C 0.067 H 337.8°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#2F0D27
RGBrgb(47, 13, 39)
HSLhsl(314, 57%, 12%)
HSVhsv(314, 72%, 18%)
CMYKcmyk(0%, 72.3%, 17%, 81.6%)
CIE-LABlab(9.31, 21.21, -9.40)
CIE-LCHlch(9.31, 23.20, 336.09°)
OKLaboklab(22.7% 0.0623 -0.0254)
OKLCHoklch(22.7% 0.067 337.8)
XYZxyz(1.6824, 1.0388, 2.0310)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D27 #0D2F15
analogous
#260D2F #2F0D27 #2F0D16
triadic
#2F0D27 #272F0D #0D272F
tetradic
#2F0D27 #2F260D #0D2F15 #0D162F
square
#2F0D27 #2F260D #0D2F15 #0D162F
split-complementary
#2F0D27 #162F0D #0D2F26
monochromatic
#180714 #180714 #2F0D27 #5F1A4F #8F2877

Accessibility & contrast

On white

17.39
#2F0D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2F0D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0D27
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D27#FFFFFF#000000##FFFFFF
##2F0D271.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1728
Deuteranopia (green-blind)
#181C26
Tritanopia (blue-blind)
#320E18
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0d27;
/* rgb */ color: rgb(47, 13, 39);
/* oklch */ color: oklch(22.7% 0.067 337.8);
Tailwind
colors: {
  custom: {
    50: '#694e61',
    500: '#2f0d27',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d27;
$custom-light: #694e61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d27",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 39
  },
  "hsl": {
    "h": 314.118,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22696,
    "c": 0.0673,
    "h": 337.8
  },
  "luminance": 0.01039
}

Semantic roles & 50–950 ramp

primary
#2F0D27
secondary
#2E6A3C
accent
#E06C48
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0D27

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

Preview Lab → · Contrast checker → · Palette generator →

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