#7F1845#7F1845

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

Color values

HEX#7F1845
RGBrgb(127, 24, 69)
HSLhsl(334, 68%, 30%)
HSVhsv(334, 81%, 50%)
CMYKcmyk(0%, 81.1%, 45.7%, 50.2%)
CIE-LABlab(28.37, 46.00, -0.34)
CIE-LCHlch(28.37, 46.00, 359.58°)
OKLaboklab(40.11% 0.1414 -0.0004)
OKLCHoklch(40.11% 0.141 359.9)
XYZxyz(10.1540, 5.5963, 6.1746)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1845 #187F52
analogous
#7F1879 #7F1845 #7F1E18
triadic
#7F1845 #457F18 #18457F
tetradic
#7F1845 #797F18 #187F52 #1E187F
square
#7F1845 #797F18 #187F52 #1E187F
split-complementary
#7F1845 #187F1E #18797F
monochromatic
#1A050E #4C0E29 #7F1845 #B22261 #D9387F

Accessibility & contrast

On white

9.91
#7F1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1845
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1845#FFFFFF#000000##FFFFFF
##7F18451.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303646
Deuteranopia (green-blind)
#4C4A43
Tritanopia (blue-blind)
#8A022C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1845;
/* rgb */ color: rgb(127, 24, 69);
/* oklch */ color: oklch(40.1% 0.141 359.9);
Tailwind
colors: {
  custom: {
    50: '#a96178',
    500: '#7f1845',
    950: '#000000',
  },
}
SCSS
$custom: #7f1845;
$custom-light: #a96178;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1845",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 333.786,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40105,
    "c": 0.14136,
    "h": 359.9
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#7F1845
secondary
#3FB381
accent
#EB9F3D
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1845

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

Preview Lab → · Contrast checker → · Palette generator →

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