#2F0C28#2F0C28

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

Color values

HEX#2F0C28
RGBrgb(47, 12, 40)
HSLhsl(312, 59%, 12%)
HSVhsv(312, 74%, 18%)
CMYKcmyk(0%, 74.5%, 14.9%, 81.6%)
CIE-LABlab(9.16, 21.96, -10.38)
CIE-LCHlch(9.16, 24.29, 334.70°)
OKLaboklab(22.61% 0.0642 -0.0282)
OKLCHoklch(22.61% 0.07 336.3)
XYZxyz(1.6868, 1.0206, 2.1152)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C28 #0C2F13
analogous
#250C2F #2F0C28 #2F0C17
triadic
#2F0C28 #282F0C #0C282F
tetradic
#2F0C28 #2F250C #0C2F13 #0C172F
square
#2F0C28 #2F250C #0C2F13 #0C172F
split-complementary
#2F0C28 #172F0C #0C2F25
monochromatic
#180615 #180615 #2F0C28 #601851 #91257B

Accessibility & contrast

On white

17.44
#2F0C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0C28
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C28#FFFFFF#000000##FFFFFF
##2F0C281.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1629
Deuteranopia (green-blind)
#171C27
Tritanopia (blue-blind)
#320E18
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0c28;
/* rgb */ color: rgb(47, 12, 40);
/* oklch */ color: oklch(22.6% 0.070 336.3);
Tailwind
colors: {
  custom: {
    50: '#694d62',
    500: '#2f0c28',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c28;
$custom-light: #694d62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c28",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 40
  },
  "hsl": {
    "h": 312,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22605,
    "c": 0.0701,
    "h": 336.3
  },
  "luminance": 0.0102
}

Semantic roles & 50–950 ramp

primary
#2F0C28
secondary
#2C6B39
accent
#E36545
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0C28

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

Preview Lab → · Contrast checker → · Palette generator →

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