#7F0F3B#7F0F3B

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

Color values

HEX#7F0F3B
RGBrgb(127, 15, 59)
HSLhsl(336, 79%, 28%)
HSVhsv(336, 88%, 50%)
CMYKcmyk(0%, 88.2%, 53.5%, 50.2%)
CIE-LABlab(27.22, 47.49, 4.74)
CIE-LCHlch(27.22, 47.73, 5.70°)
OKLaboklab(39.16% 0.1455 0.0124)
OKLCHoklch(39.16% 0.146 4.9)
XYZxyz(9.7135, 5.1709, 4.6234)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F0F3B #0F7F53
analogous
#7F0F73 #7F0F3B #7F1B0F
triadic
#7F0F3B #3B7F0F #0F3B7F
tetradic
#7F0F3B #737F0F #0F7F53 #1B0F7F
square
#7F0F3B #737F0F #0F7F53 #1B0F7F
split-complementary
#7F0F3B #0F7F1B #0F737F
monochromatic
#1B030D #480922 #7F0F3B #B61554 #E5236F

Accessibility & contrast

On white

10.33
#7F0F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F0F3B
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F0F3B#FFFFFF#000000##FFFFFF
##7F0F3B1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f0f3b;
/* rgb */ color: rgb(127, 15, 59);
/* oklch */ color: oklch(39.2% 0.146 4.9);
Tailwind
colors: {
  custom: {
    50: '#aa5e70',
    500: '#7f0f3b',
    950: '#000000',
  },
}
SCSS
$custom: #7f0f3b;
$custom-light: #aa5e70;
$custom-dark: #000000;
JSON
{
  "hex": "#7f0f3b",
  "rgb": {
    "r": 127,
    "g": 15,
    "b": 59
  },
  "hsl": {
    "h": 336.429,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39159,
    "c": 0.14598,
    "h": 4.9
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#7F0F3B
secondary
#34B583
accent
#F5A932
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F0F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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