#7F1F52#7F1F52

#7F1F52 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.139 H 352.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7F1F52
RGBrgb(127, 31, 82)
HSLhsl(328, 61%, 31%)
HSVhsv(328, 76%, 50%)
CMYKcmyk(0%, 75.6%, 35.4%, 50.2%)
CIE-LABlab(29.67, 45.07, -7.04)
CIE-LCHlch(29.67, 45.62, 351.12°)
OKLaboklab(41.21% 0.138 -0.0181)
OKLCHoklch(41.21% 0.139 352.5)
XYZxyz(10.7660, 6.1025, 8.5919)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F52 #1F7F4C
analogous
#7C1F7F #7F1F52 #7F1F22
triadic
#7F1F52 #527F1F #1F527F
tetradic
#7F1F52 #7F7C1F #1F7F4C #1F227F
square
#7F1F52 #7F7C1F #1F7F4C #1F227F
split-complementary
#7F1F52 #227F1F #1F7F7C
monochromatic
#1D0712 #4E1332 #7F1F52 #B02B72 #D24691

Accessibility & contrast

On white

9.46
#7F1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F1F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F52
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F52#FFFFFF#000000##FFFFFF
##7F1F521.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303B53
Deuteranopia (green-blind)
#4B4C50
Tritanopia (blue-blind)
#891735
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1f52;
/* rgb */ color: rgb(127, 31, 82);
/* oklch */ color: oklch(41.2% 0.139 352.5);
Tailwind
colors: {
  custom: {
    50: '#a86482',
    500: '#7f1f52',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f52;
$custom-light: #a86482;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f52",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 328.125,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41208,
    "c": 0.13922,
    "h": 352.5
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#7F1F52
secondary
#48B27A
accent
#E48F44
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1F52

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

Preview Lab → · Contrast checker → · Palette generator →

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