#2F0525#2F0525

#2F0525 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.4% C 0.080 H 339.3°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#2F0525
RGBrgb(47, 5, 37)
HSLhsl(314, 81%, 10%)
HSVhsv(314, 89%, 18%)
CMYKcmyk(0%, 89.4%, 21.3%, 81.6%)
CIE-LABlab(7.65, 25.15, -10.47)
CIE-LCHlch(7.65, 27.24, 337.40°)
OKLaboklab(21.44% 0.0749 -0.0284)
OKLCHoklch(21.44% 0.08 339.3)
XYZxyz(1.5605, 0.8466, 1.8311)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0525 #052F0F
analogous
#24052F #2F0525 #2F0510
triadic
#2F0525 #252F05 #05252F
tetradic
#2F0525 #2F2405 #052F0F #05102F
square
#2F0525 #2F2405 #052F0F #05102F
split-complementary
#2F0525 #102F05 #052F24
monochromatic
#1C0316 #1C0316 #2F0525 #660B51 #9E117C

Accessibility & contrast

On white

17.96
#2F0525 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2F0525 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0525
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0525#FFFFFF#000000##FFFFFF
##2F05251.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071326
Deuteranopia (green-blind)
#151924
Tritanopia (blue-blind)
#320614
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0525;
/* rgb */ color: rgb(47, 5, 37);
/* oklch */ color: oklch(21.4% 0.080 339.3);
Tailwind
colors: {
  custom: {
    50: '#6a495f',
    500: '#2f0525',
    950: '#000000',
  },
}
SCSS
$custom: #2f0525;
$custom-light: #6a495f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0525",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 37
  },
  "hsl": {
    "h": 314.286,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21444,
    "c": 0.08011,
    "h": 339.3
  },
  "luminance": 0.00846
}

Semantic roles & 50–950 ramp

primary
#2F0525
secondary
#1F7133
accent
#F76031
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #2F0525

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

Preview Lab → · Contrast checker → · Palette generator →

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