#2F0C27#2F0C27

#2F0C27 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.069 H 337.7°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#2F0C27
RGBrgb(47, 12, 39)
HSLhsl(314, 59%, 12%)
HSVhsv(314, 74%, 18%)
CMYKcmyk(0%, 74.5%, 17%, 81.6%)
CIE-LABlab(9.11, 21.77, -9.72)
CIE-LCHlch(9.11, 23.84, 335.94°)
OKLaboklab(22.55% 0.064 -0.0263)
OKLCHoklch(22.55% 0.069 337.7)
XYZxyz(1.6700, 1.0139, 2.0268)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C27 #0C2F14
analogous
#260C2F #2F0C27 #2F0C16
triadic
#2F0C27 #272F0C #0C272F
tetradic
#2F0C27 #2F260C #0C2F14 #0C162F
square
#2F0C27 #2F260C #0C2F14 #0C162F
split-complementary
#2F0C27 #162F0C #0C2F26
monochromatic
#180614 #180614 #2F0C27 #60184F #912578

Accessibility & contrast

On white

17.46
#2F0C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0C27
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C27#FFFFFF#000000##FFFFFF
##2F0C271.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1628
Deuteranopia (green-blind)
#181C26
Tritanopia (blue-blind)
#320D17
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2f0c27;
/* rgb */ color: rgb(47, 12, 39);
/* oklch */ color: oklch(22.5% 0.069 337.7);
Tailwind
colors: {
  custom: {
    50: '#694d61',
    500: '#2f0c27',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c27;
$custom-light: #694d61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c27",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 313.714,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22547,
    "c": 0.06917,
    "h": 337.7
  },
  "luminance": 0.01014
}

Semantic roles & 50–950 ramp

primary
#2F0C27
secondary
#2C6B3A
accent
#E36945
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0C27

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

Preview Lab → · Contrast checker → · Palette generator →

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