#7F0F3C#7F0F3C

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

Color values

HEX#7F0F3C
RGBrgb(127, 15, 60)
HSLhsl(336, 79%, 28%)
HSVhsv(336, 88%, 50%)
CMYKcmyk(0%, 88.2%, 52.8%, 50.2%)
CIE-LABlab(27.25, 47.58, 4.10)
CIE-LCHlch(27.25, 47.75, 4.92°)
OKLaboklab(39.19% 0.1458 0.0109)
OKLCHoklch(39.19% 0.146 4.3)
XYZxyz(9.7397, 5.1813, 4.7613)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F0F3C #0F7F52
analogous
#7F0F74 #7F0F3C #7F1A0F
triadic
#7F0F3C #3C7F0F #0F3C7F
tetradic
#7F0F3C #747F0F #0F7F52 #1A0F7F
square
#7F0F3C #747F0F #0F7F52 #1A0F7F
split-complementary
#7F0F3C #0F7F1A #0F747F
monochromatic
#1B030D #480922 #7F0F3C #B61556 #E52371

Accessibility & contrast

On white

10.31
#7F0F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F0F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F0F3C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F0F3C#FFFFFF#000000##FFFFFF
##7F0F3C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F333D
Deuteranopia (green-blind)
#4C4839
Tritanopia (blue-blind)
#8B0024
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f0f3c;
/* rgb */ color: rgb(127, 15, 60);
/* oklch */ color: oklch(39.2% 0.146 4.3);
Tailwind
colors: {
  custom: {
    50: '#aa5e71',
    500: '#7f0f3c',
    950: '#000000',
  },
}
SCSS
$custom: #7f0f3c;
$custom-light: #aa5e71;
$custom-dark: #000000;
JSON
{
  "hex": "#7f0f3c",
  "rgb": {
    "r": 127,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 335.893,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3919,
    "c": 0.14624,
    "h": 4.3
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#7F0F3C
secondary
#34B582
accent
#F5A732
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F0F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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