#7F1840#7F1840

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

Color values

HEX#7F1840
RGBrgb(127, 24, 64)
HSLhsl(337, 68%, 30%)
HSVhsv(337, 81%, 50%)
CMYKcmyk(0%, 81.1%, 49.6%, 50.2%)
CIE-LABlab(28.21, 45.51, 2.79)
CIE-LCHlch(28.21, 45.60, 3.50°)
OKLaboklab(39.94% 0.1395 0.0076)
OKLCHoklch(39.94% 0.14 3.1)
XYZxyz(10.0053, 5.5368, 5.3914)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1840 #187F57
analogous
#7F1874 #7F1840 #7F2418
triadic
#7F1840 #407F18 #18407F
tetradic
#7F1840 #747F18 #187F57 #24187F
square
#7F1840 #747F18 #187F57 #24187F
split-complementary
#7F1840 #187F24 #18747F
monochromatic
#1A050D #4C0E26 #7F1840 #B2225A #D93877

Accessibility & contrast

On white

9.97
#7F1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1840
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1840#FFFFFF#000000##FFFFFF
##7F18401.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1840;
/* rgb */ color: rgb(127, 24, 64);
/* oklch */ color: oklch(39.9% 0.140 3.1);
Tailwind
colors: {
  custom: {
    50: '#a96174',
    500: '#7f1840',
    950: '#000000',
  },
}
SCSS
$custom: #7f1840;
$custom-light: #a96174;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1840",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 336.699,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39938,
    "c": 0.13975,
    "h": 3.1
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#7F1840
secondary
#3FB386
accent
#EBA73D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F1840

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

Preview Lab → · Contrast checker → · Palette generator →

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