#7F1546#7F1546

#7F1546 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.145 H 358.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#7F1546
RGBrgb(127, 21, 70)
HSLhsl(332, 72%, 29%)
HSVhsv(332, 83%, 50%)
CMYKcmyk(0%, 83.5%, 44.9%, 50.2%)
CIE-LABlab(28.09, 46.98, -1.42)
CIE-LCHlch(28.09, 47.00, 358.27°)
OKLaboklab(39.91% 0.1446 -0.0031)
OKLCHoklch(39.91% 0.145 358.8)
XYZxyz(10.1268, 5.4919, 6.3199)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1546 #157F4E
analogous
#7F157B #7F1546 #7F1915
triadic
#7F1546 #467F15 #15467F
tetradic
#7F1546 #7B7F15 #157F4E #19157F
square
#7F1546 #7B7F15 #157F4E #19157F
split-complementary
#7F1546 #157F19 #157B7F
monochromatic
#1A040E #4A0C29 #7F1546 #B41E63 #DD3181

Accessibility & contrast

On white

10.01
#7F1546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7F1546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1546
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1546#FFFFFF#000000##FFFFFF
##7F15461.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3647
Deuteranopia (green-blind)
#4B4944
Tritanopia (blue-blind)
#8A002C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1546;
/* rgb */ color: rgb(127, 21, 70);
/* oklch */ color: oklch(39.9% 0.145 358.8);
Tailwind
colors: {
  custom: {
    50: '#a96079',
    500: '#7f1546',
    950: '#000000',
  },
}
SCSS
$custom: #7f1546;
$custom-light: #a96079;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1546",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 70
  },
  "hsl": {
    "h": 332.264,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39913,
    "c": 0.14459,
    "h": 358.8
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#7F1546
secondary
#3CB47C
accent
#EE9B39
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1546

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

Preview Lab → · Contrast checker → · Palette generator →

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