#2F0C29#2F0C29

#2F0C29 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.7% C 0.071 H 335.0°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#2F0C29
RGBrgb(47, 12, 41)
HSLhsl(310, 59%, 12%)
HSVhsv(310, 74%, 18%)
CMYKcmyk(0%, 74.5%, 12.8%, 81.6%)
CIE-LABlab(9.22, 22.16, -11.04)
CIE-LCHlch(9.22, 24.76, 333.51°)
OKLaboklab(22.67% 0.0644 -0.03)
OKLCHoklch(22.67% 0.071 335)
XYZxyz(1.7040, 1.0275, 2.2060)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C29 #0C2F12
analogous
#240C2F #2F0C29 #2F0C18
triadic
#2F0C29 #292F0C #0C292F
tetradic
#2F0C29 #2F240C #0C2F12 #0C182F
square
#2F0C29 #2F240C #0C2F12 #0C182F
split-complementary
#2F0C29 #182F0C #0C2F24
monochromatic
#180615 #180615 #2F0C29 #601854 #91257E

Accessibility & contrast

On white

17.42
#2F0C29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0C29
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C29#FFFFFF#000000##FFFFFF
##2F0C291.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0c29;
/* rgb */ color: rgb(47, 12, 41);
/* oklch */ color: oklch(22.7% 0.071 335.0);
Tailwind
colors: {
  custom: {
    50: '#694d62',
    500: '#2f0c29',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c29;
$custom-light: #694d62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c29",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 41
  },
  "hsl": {
    "h": 310.286,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22665,
    "c": 0.07106,
    "h": 335
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#2F0C29
secondary
#2C6B37
accent
#E36045
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0C29

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

Preview Lab → · Contrast checker → · Palette generator →

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