#2F0F23#2F0F23

#2F0F23 is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.8% C 0.060 H 344.5°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#2F0F23
RGBrgb(47, 15, 35)
HSLhsl(323, 52%, 12%)
HSVhsv(323, 68%, 18%)
CMYKcmyk(0%, 68.1%, 25.5%, 81.6%)
CIE-LABlab(9.54, 19.28, -6.04)
CIE-LCHlch(9.54, 20.20, 342.61°)
OKLaboklab(22.8% 0.0577 -0.016)
OKLCHoklch(22.8% 0.06 344.5)
XYZxyz(1.6465, 1.0675, 1.7091)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F23 #0F2F1B
analogous
#2B0F2F #2F0F23 #2F0F13
triadic
#2F0F23 #232F0F #0F232F
tetradic
#2F0F23 #2F2B0F #0F2F1B #0F132F
square
#2F0F23 #2F2B0F #0F2F1B #0F132F
split-complementary
#2F0F23 #132F0F #0F2F2B
monochromatic
#170711 #170711 #2F0F23 #5D1E46 #8C2D68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F0F23#FFFFFF#000000##FFFFFF
##2F0F231.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)
#121724
Deuteranopia (green-blind)
#1B1D22
Tritanopia (blue-blind)
#320F17
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0f23;
/* rgb */ color: rgb(47, 15, 35);
/* oklch */ color: oklch(22.8% 0.060 344.5);
Tailwind
colors: {
  custom: {
    50: '#694f5d',
    500: '#2f0f23',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f23;
$custom-light: #694f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f23",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 35
  },
  "hsl": {
    "h": 322.5,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.228,
    "c": 0.05987,
    "h": 344.5
  },
  "luminance": 0.01067
}

Semantic roles & 50–950 ramp

primary
#2F0F23
secondary
#316946
accent
#DB824D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060204
muted
#7A7879

Preview Lab

Preview with #2F0F23

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

Preview Lab → · Contrast checker → · Palette generator →

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