#7F0F3A#7F0F3A

#7F0F3A is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.146 H 5.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#7F0F3A
RGBrgb(127, 15, 58)
HSLhsl(337, 79%, 28%)
HSVhsv(337, 88%, 50%)
CMYKcmyk(0%, 88.2%, 54.3%, 50.2%)
CIE-LABlab(27.19, 47.41, 5.37)
CIE-LCHlch(27.19, 47.71, 6.47°)
OKLaboklab(39.13% 0.1451 0.014)
OKLCHoklch(39.13% 0.146 5.5)
XYZxyz(9.6879, 5.1606, 4.4881)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F0F3A #0F7F54
analogous
#7F0F72 #7F0F3A #7F1C0F
triadic
#7F0F3A #3A7F0F #0F3A7F
tetradic
#7F0F3A #727F0F #0F7F54 #1C0F7F
square
#7F0F3A #727F0F #0F7F54 #1C0F7F
split-complementary
#7F0F3A #0F7F1C #0F727F
monochromatic
#1B030C #480921 #7F0F3A #B61553 #E5236E

Accessibility & contrast

On white

10.34
#7F0F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F0F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F0F3A
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F0F3A#FFFFFF#000000##FFFFFF
##7F0F3A1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F323B
Deuteranopia (green-blind)
#4C4837
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f0f3a;
/* rgb */ color: rgb(127, 15, 58);
/* oklch */ color: oklch(39.1% 0.146 5.5);
Tailwind
colors: {
  custom: {
    50: '#aa5d6f',
    500: '#7f0f3a',
    950: '#000000',
  },
}
SCSS
$custom: #7f0f3a;
$custom-light: #aa5d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f0f3a",
  "rgb": {
    "r": 127,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 336.964,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39129,
    "c": 0.14573,
    "h": 5.5
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#7F0F3A
secondary
#34B584
accent
#F5AB32
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F0F3A

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

Preview Lab → · Contrast checker → · Palette generator →

#7F0F3A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva