#2F0E23#2F0E23

#2F0E23 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.6% C 0.062 H 344.1°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#2F0E23
RGBrgb(47, 14, 35)
HSLhsl(322, 54%, 12%)
HSVhsv(322, 70%, 18%)
CMYKcmyk(0%, 70.2%, 25.5%, 81.6%)
CIE-LABlab(9.32, 19.88, -6.38)
CIE-LCHlch(9.32, 20.87, 342.21°)
OKLaboklab(22.64% 0.0595 -0.0169)
OKLCHoklch(22.64% 0.062 344.1)
XYZxyz(1.6327, 1.0399, 1.7045)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E23 #0E2F1A
analogous
#2B0E2F #2F0E23 #2F0E13
triadic
#2F0E23 #232F0E #0E232F
tetradic
#2F0E23 #2F2B0E #0E2F1A #0E132F
square
#2F0E23 #2F2B0E #0E2F1A #0E132F
split-complementary
#2F0E23 #132F0E #0E2F2B
monochromatic
#180712 #180712 #2F0E23 #5E1C46 #8D2A69

Accessibility & contrast

On white

17.38
#2F0E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0E23
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E23#FFFFFF#000000##FFFFFF
##2F0E231.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111724
Deuteranopia (green-blind)
#1A1C22
Tritanopia (blue-blind)
#320E16
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0e23;
/* rgb */ color: rgb(47, 14, 35);
/* oklch */ color: oklch(22.6% 0.062 344.1);
Tailwind
colors: {
  custom: {
    50: '#694e5d',
    500: '#2f0e23',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e23;
$custom-light: #694e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e23",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 35
  },
  "hsl": {
    "h": 321.818,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22636,
    "c": 0.06185,
    "h": 344.1
  },
  "luminance": 0.0104
}

Semantic roles & 50–950 ramp

primary
#2F0E23
secondary
#2F6945
accent
#DD804A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060204
muted
#7A7879

Preview Lab

Preview with #2F0E23

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

Preview Lab → · Contrast checker → · Palette generator →

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