#2F0827#2F0827

#2F0827 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.0% C 0.076 H 337.2°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#2F0827
RGBrgb(47, 8, 39)
HSLhsl(312, 71%, 11%)
HSVhsv(312, 83%, 18%)
CMYKcmyk(0%, 83%, 17%, 81.6%)
CIE-LABlab(8.35, 23.87, -10.90)
CIE-LCHlch(8.35, 26.24, 335.47°)
OKLaboklab(21.99% 0.0702 -0.0296)
OKLCHoklch(21.99% 0.076 337.2)
XYZxyz(1.6254, 0.9246, 2.0119)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0827 #082F10
analogous
#23082F #2F0827 #2F0813
triadic
#2F0827 #272F08 #08272F
tetradic
#2F0827 #2F2308 #082F10 #08132F
square
#2F0827 #2F2308 #082F10 #08132F
split-complementary
#2F0827 #132F08 #082F23
monochromatic
#1A0416 #1A0416 #2F0827 #631152 #981A7E

Accessibility & contrast

On white

17.72
#2F0827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2F0827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0827
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0827#FFFFFF#000000##FFFFFF
##2F08271.0017.721.1817.72
#FFFFFF17.721.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091428
Deuteranopia (green-blind)
#161A26
Tritanopia (blue-blind)
#320A16
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0827;
/* rgb */ color: rgb(47, 8, 39);
/* oklch */ color: oklch(22.0% 0.076 337.2);
Tailwind
colors: {
  custom: {
    50: '#694b61',
    500: '#2f0827',
    950: '#000000',
  },
}
SCSS
$custom: #2f0827;
$custom-light: #694b61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0827",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 39
  },
  "hsl": {
    "h": 312.308,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21993,
    "c": 0.07622,
    "h": 337.2
  },
  "luminance": 0.00924
}

Semantic roles & 50–950 ramp

primary
#2F0827
secondary
#256E34
accent
#EE5F3A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2F0827

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

Preview Lab → · Contrast checker → · Palette generator →

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