#7F1841#7F1841

#7F1841 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.140 H 2.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7F1841
RGBrgb(127, 24, 65)
HSLhsl(336, 68%, 30%)
HSVhsv(336, 81%, 50%)
CMYKcmyk(0%, 81.1%, 48.8%, 50.2%)
CIE-LABlab(28.24, 45.61, 2.16)
CIE-LCHlch(28.24, 45.66, 2.71°)
OKLaboklab(39.97% 0.1399 0.006)
OKLCHoklch(39.97% 0.14 2.5)
XYZxyz(10.0340, 5.5483, 5.5426)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1841 #187F56
analogous
#7F1874 #7F1841 #7F2318
triadic
#7F1841 #417F18 #18417F
tetradic
#7F1841 #747F18 #187F56 #23187F
square
#7F1841 #747F18 #187F56 #23187F
split-complementary
#7F1841 #187F23 #18747F
monochromatic
#1A050D #4C0E27 #7F1841 #B2225B #D93878

Accessibility & contrast

On white

9.96
#7F1841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F1841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1841
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1841#FFFFFF#000000##FFFFFF
##7F18411.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313642
Deuteranopia (green-blind)
#4D4A3F
Tritanopia (blue-blind)
#8B002A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1841;
/* rgb */ color: rgb(127, 24, 65);
/* oklch */ color: oklch(40.0% 0.140 2.5);
Tailwind
colors: {
  custom: {
    50: '#a96175',
    500: '#7f1841',
    950: '#000000',
  },
}
SCSS
$custom: #7f1841;
$custom-light: #a96175;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1841",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 336.117,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3997,
    "c": 0.14004,
    "h": 2.5
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

primary
#7F1841
secondary
#3FB385
accent
#EBA63D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F1841

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

Preview Lab → · Contrast checker → · Palette generator →

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