#7F1843#7F1843

#7F1843 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.141 H 1.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7F1843
RGBrgb(127, 24, 67)
HSLhsl(335, 68%, 30%)
HSVhsv(335, 81%, 50%)
CMYKcmyk(0%, 81.1%, 47.2%, 50.2%)
CIE-LABlab(28.31, 45.80, 0.91)
CIE-LCHlch(28.31, 45.81, 1.14°)
OKLaboklab(40.04% 0.1407 0.0028)
OKLCHoklch(40.04% 0.141 1.2)
XYZxyz(10.0930, 5.5719, 5.8531)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1843 #187F54
analogous
#7F1877 #7F1843 #7F2018
triadic
#7F1843 #437F18 #18437F
tetradic
#7F1843 #777F18 #187F54 #20187F
square
#7F1843 #777F18 #187F54 #20187F
split-complementary
#7F1843 #187F20 #18777F
monochromatic
#1A050E #4C0E28 #7F1843 #B2225E #D9387B

Accessibility & contrast

On white

9.93
#7F1843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1843
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1843#FFFFFF#000000##FFFFFF
##7F18431.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313644
Deuteranopia (green-blind)
#4C4A41
Tritanopia (blue-blind)
#8A002B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1843;
/* rgb */ color: rgb(127, 24, 67);
/* oklch */ color: oklch(40.0% 0.141 1.2);
Tailwind
colors: {
  custom: {
    50: '#a96176',
    500: '#7f1843',
    950: '#000000',
  },
}
SCSS
$custom: #7f1843;
$custom-light: #a96176;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1843",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 67
  },
  "hsl": {
    "h": 334.951,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40037,
    "c": 0.14068,
    "h": 1.2
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#7F1843
secondary
#3FB383
accent
#EBA23D
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F1843

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

Preview Lab → · Contrast checker → · Palette generator →

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