#2F0F28#2F0F28

#2F0F28 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.1% C 0.064 H 336.7°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#2F0F28
RGBrgb(47, 15, 40)
HSLhsl(313, 52%, 12%)
HSVhsv(313, 68%, 18%)
CMYKcmyk(0%, 68.1%, 14.9%, 81.6%)
CIE-LABlab(9.79, 20.25, -9.40)
CIE-LCHlch(9.79, 22.33, 335.09°)
OKLaboklab(23.07% 0.0591 -0.0254)
OKLCHoklch(23.07% 0.064 336.7)
XYZxyz(1.7261, 1.0993, 2.1283)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F28 #0F2F16
analogous
#260F2F #2F0F28 #2F0F18
triadic
#2F0F28 #282F0F #0F282F
tetradic
#2F0F28 #2F260F #0F2F16 #0F182F
square
#2F0F28 #2F260F #0F2F16 #0F182F
split-complementary
#2F0F28 #182F0F #0F2F26
monochromatic
#170714 #170714 #2F0F28 #5D1E4F #8C2D77

Accessibility & contrast

On white

17.22
#2F0F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0F28
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F28#FFFFFF#000000##FFFFFF
##2F0F281.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101829
Deuteranopia (green-blind)
#191D27
Tritanopia (blue-blind)
#321019
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2f0f28;
/* rgb */ color: rgb(47, 15, 40);
/* oklch */ color: oklch(23.1% 0.064 336.7);
Tailwind
colors: {
  custom: {
    50: '#694f62',
    500: '#2f0f28',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f28;
$custom-light: #694f62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f28",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 40
  },
  "hsl": {
    "h": 313.125,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23069,
    "c": 0.06438,
    "h": 336.7
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#2F0F28
secondary
#31693D
accent
#DB6C4D
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #2F0F28

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

Preview Lab → · Contrast checker → · Palette generator →

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