#7F1836#7F1836

#7F1836 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.138 H 9.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7F1836
RGBrgb(127, 24, 54)
HSLhsl(343, 68%, 30%)
HSVhsv(343, 81%, 50%)
CMYKcmyk(0%, 81.1%, 57.5%, 50.2%)
CIE-LABlab(27.93, 44.65, 9.13)
CIE-LCHlch(27.93, 45.58, 11.55°)
OKLaboklab(39.64% 0.1356 0.0231)
OKLCHoklch(39.64% 0.138 9.7)
XYZxyz(9.7458, 5.4330, 4.0248)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1836 #187F61
analogous
#7F186A #7F1836 #7F2D18
triadic
#7F1836 #367F18 #18367F
tetradic
#7F1836 #6A7F18 #187F61 #2D187F
square
#7F1836 #6A7F18 #187F61 #2D187F
split-complementary
#7F1836 #187F2D #186A7F
monochromatic
#1A050B #4C0E20 #7F1836 #B2224C #D93867

Accessibility & contrast

On white

10.07
#7F1836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F1836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1836
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1836#FFFFFF#000000##FFFFFF
##7F18361.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343537
Deuteranopia (green-blind)
#4F4933
Tritanopia (blue-blind)
#8B0025
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1836;
/* rgb */ color: rgb(127, 24, 54);
/* oklch */ color: oklch(39.6% 0.138 9.7);
Tailwind
colors: {
  custom: {
    50: '#aa606c',
    500: '#7f1836',
    950: '#000000',
  },
}
SCSS
$custom: #7f1836;
$custom-light: #aa606c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1836",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 54
  },
  "hsl": {
    "h": 342.524,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39643,
    "c": 0.13752,
    "h": 9.7
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#7F1836
secondary
#3FB392
accent
#EBB83D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F1836

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

Preview Lab → · Contrast checker → · Palette generator →

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