#2F0C23#2F0C23

#2F0C23 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.3% C 0.066 H 343.4°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#2F0C23
RGBrgb(47, 12, 35)
HSLhsl(321, 59%, 12%)
HSVhsv(321, 74%, 18%)
CMYKcmyk(0%, 74.5%, 25.5%, 81.6%)
CIE-LABlab(8.90, 21.02, -7.02)
CIE-LCHlch(8.90, 22.16, 341.53°)
OKLaboklab(22.33% 0.0629 -0.0187)
OKLCHoklch(22.33% 0.066 343.4)
XYZxyz(1.6072, 0.9888, 1.6960)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C23 #0C2F18
analogous
#2A0C2F #2F0C23 #2F0C12
triadic
#2F0C23 #232F0C #0C232F
tetradic
#2F0C23 #2F2A0C #0C2F18 #0C122F
square
#2F0C23 #2F2A0C #0C2F18 #0C122F
split-complementary
#2F0C23 #122F0C #0C2F2A
monochromatic
#180612 #180612 #2F0C23 #601847 #91256C

Accessibility & contrast

On white

17.53
#2F0C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0C23
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C23#FFFFFF#000000##FFFFFF
##2F0C231.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1624
Deuteranopia (green-blind)
#191B22
Tritanopia (blue-blind)
#320C16
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2f0c23;
/* rgb */ color: rgb(47, 12, 35);
/* oklch */ color: oklch(22.3% 0.066 343.4);
Tailwind
colors: {
  custom: {
    50: '#694d5d',
    500: '#2f0c23',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c23;
$custom-light: #694d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c23",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 35
  },
  "hsl": {
    "h": 320.571,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22325,
    "c": 0.06566,
    "h": 343.4
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#2F0C23
secondary
#2C6B42
accent
#E37B45
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2F0C23

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

Preview Lab → · Contrast checker → · Palette generator →

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