#2F0725#2F0725

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

Color values

HEX#2F0725
RGBrgb(47, 7, 37)
HSLhsl(315, 74%, 11%)
HSVhsv(315, 85%, 18%)
CMYKcmyk(0%, 85.1%, 21.3%, 81.6%)
CIE-LABlab(8.04, 24.05, -9.86)
CIE-LCHlch(8.04, 25.99, 337.70°)
OKLaboklab(21.73% 0.0715 -0.0266)
OKLCHoklch(21.73% 0.076 339.6)
XYZxyz(1.5822, 0.8900, 1.8384)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0725 #072F11
analogous
#25072F #2F0725 #2F0711
triadic
#2F0725 #252F07 #07252F
tetradic
#2F0725 #2F2507 #072F11 #07112F
square
#2F0725 #2F2507 #072F11 #07112F
split-complementary
#2F0725 #112F07 #072F25
monochromatic
#1B0415 #1B0415 #2F0725 #640F4F #9A1779

Accessibility & contrast

On white

17.83
#2F0725 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0725
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0725#FFFFFF#000000##FFFFFF
##2F07251.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091426
Deuteranopia (green-blind)
#161A24
Tritanopia (blue-blind)
#320814
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0725;
/* rgb */ color: rgb(47, 7, 37);
/* oklch */ color: oklch(21.7% 0.076 339.6);
Tailwind
colors: {
  custom: {
    50: '#694a5f',
    500: '#2f0725',
    950: '#000000',
  },
}
SCSS
$custom: #2f0725;
$custom-light: #694a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0725",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 37
  },
  "hsl": {
    "h": 315,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21732,
    "c": 0.07632,
    "h": 339.6
  },
  "luminance": 0.0089
}

Semantic roles & 50–950 ramp

primary
#2F0725
secondary
#236F36
accent
#F16537
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2F0725

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

Preview Lab → · Contrast checker → · Palette generator →

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