#7F1846#7F1846

#7F1846 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.142 H 359.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7F1846
RGBrgb(127, 24, 70)
HSLhsl(333, 68%, 30%)
HSVhsv(333, 81%, 50%)
CMYKcmyk(0%, 81.1%, 44.9%, 50.2%)
CIE-LABlab(28.40, 46.10, -0.96)
CIE-LCHlch(28.40, 46.11, 358.81°)
OKLaboklab(40.14% 0.1417 -0.002)
OKLCHoklch(40.14% 0.142 359.2)
XYZxyz(10.1853, 5.6088, 6.3394)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1846 #187F51
analogous
#7F187A #7F1846 #7F1E18
triadic
#7F1846 #467F18 #18467F
tetradic
#7F1846 #7A7F18 #187F51 #1E187F
square
#7F1846 #7A7F18 #187F51 #1E187F
split-complementary
#7F1846 #187F1E #187A7F
monochromatic
#1A050E #4C0E2A #7F1846 #B22262 #D93880

Accessibility & contrast

On white

9.90
#7F1846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F1846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1846
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1846#FFFFFF#000000##FFFFFF
##7F18461.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303747
Deuteranopia (green-blind)
#4C4A44
Tritanopia (blue-blind)
#8A032D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1846;
/* rgb */ color: rgb(127, 24, 70);
/* oklch */ color: oklch(40.1% 0.142 359.2);
Tailwind
colors: {
  custom: {
    50: '#a96179',
    500: '#7f1846',
    950: '#000000',
  },
}
SCSS
$custom: #7f1846;
$custom-light: #a96179;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1846",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 70
  },
  "hsl": {
    "h": 333.204,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4014,
    "c": 0.14173,
    "h": 359.2
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#7F1846
secondary
#3FB380
accent
#EB9D3D
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1846

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

Preview Lab → · Contrast checker → · Palette generator →

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