#2F1027#2F1027

#2F1027 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.2% C 0.061 H 338.4°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#2F1027
RGBrgb(47, 16, 39)
HSLhsl(315, 49%, 12%)
HSVhsv(315, 66%, 18%)
CMYKcmyk(0%, 66%, 17%, 81.6%)
CIE-LABlab(9.97, 19.45, -8.39)
CIE-LCHlch(9.97, 21.18, 336.66°)
OKLaboklab(23.18% 0.0571 -0.0226)
OKLCHoklch(23.18% 0.061 338.4)
XYZxyz(1.7238, 1.1215, 2.0447)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1027 #102F18
analogous
#28102F #2F1027 #2F1018
triadic
#2F1027 #272F10 #10272F
tetradic
#2F1027 #2F2810 #102F18 #10182F
square
#2F1027 #2F2810 #102F18 #10182F
split-complementary
#2F1027 #182F10 #102F28
monochromatic
#170813 #170813 #2F1027 #5D204D #8A2F73

Accessibility & contrast

On white

17.15
#2F1027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2F1027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1027
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1027#FFFFFF#000000##FFFFFF
##2F10271.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111828
Deuteranopia (green-blind)
#1A1D26
Tritanopia (blue-blind)
#321119
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f1027;
/* rgb */ color: rgb(47, 16, 39);
/* oklch */ color: oklch(23.2% 0.061 338.4);
Tailwind
colors: {
  custom: {
    50: '#695061',
    500: '#2f1027',
    950: '#000000',
  },
}
SCSS
$custom: #2f1027;
$custom-light: #695061;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1027",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 315.484,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23179,
    "c": 0.06141,
    "h": 338.4
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#2F1027
secondary
#336841
accent
#D9734F
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060205
muted
#7A7879

Preview Lab

Preview with #2F1027

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

Preview Lab → · Contrast checker → · Palette generator →

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