#2F0E27#2F0E27

#2F0E27 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.9% C 0.065 H 338.0°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#2F0E27
RGBrgb(47, 14, 39)
HSLhsl(315, 54%, 12%)
HSVhsv(315, 70%, 18%)
CMYKcmyk(0%, 70.2%, 17%, 81.6%)
CIE-LABlab(9.52, 20.64, -9.08)
CIE-LCHlch(9.52, 22.55, 336.26°)
OKLaboklab(22.85% 0.0606 -0.0245)
OKLCHoklch(22.85% 0.065 338)
XYZxyz(1.6956, 1.0650, 2.0353)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E27 #0E2F16
analogous
#270E2F #2F0E27 #2F0E17
triadic
#2F0E27 #272F0E #0E272F
tetradic
#2F0E27 #2F270E #0E2F16 #0E172F
square
#2F0E27 #2F270E #0E2F16 #0E172F
split-complementary
#2F0E27 #172F0E #0E2F27
monochromatic
#180714 #180714 #2F0E27 #5E1C4E #8D2A75

Accessibility & contrast

On white

17.31
#2F0E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0E27
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E27#FFFFFF#000000##FFFFFF
##2F0E271.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1728
Deuteranopia (green-blind)
#191C26
Tritanopia (blue-blind)
#320F18
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0e27;
/* rgb */ color: rgb(47, 14, 39);
/* oklch */ color: oklch(22.9% 0.065 338.0);
Tailwind
colors: {
  custom: {
    50: '#694e61',
    500: '#2f0e27',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e27;
$custom-light: #694e61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e27",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 39
  },
  "hsl": {
    "h": 314.545,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22852,
    "c": 0.06538,
    "h": 338
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#2F0E27
secondary
#2F693D
accent
#DD6E4A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060205
muted
#7A7879

Preview Lab

Preview with #2F0E27

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

Preview Lab → · Contrast checker → · Palette generator →

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