#7F3151#7F3151

#7F3151 is a dark, moderate pink. Relative luminance 0.073; OKLCH L 43.3% C 0.113 H 357.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#7F3151
RGBrgb(127, 49, 81)
HSLhsl(335, 44%, 35%)
HSVhsv(335, 61%, 50%)
CMYKcmyk(0%, 61.4%, 36.2%, 50.2%)
CIE-LABlab(32.49, 37.12, -2.20)
CIE-LCHlch(32.49, 37.18, 356.62°)
OKLaboklab(43.28% 0.1132 -0.0053)
OKLCHoklch(43.28% 0.113 357.3)
XYZxyz(11.3365, 7.3039, 8.5958)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3151 #317F5F
analogous
#7F3178 #7F3151 #7F3831
triadic
#7F3151 #517F31 #31517F
tetradic
#7F3151 #787F31 #317F5F #38317F
square
#7F3151 #787F31 #317F5F #38317F
split-complementary
#7F3151 #317F38 #31787F
monochromatic
#270F19 #532035 #7F3151 #AB426D #C4668D

Accessibility & contrast

On white

8.53
#7F3151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7F3151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F3151
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3151#FFFFFF#000000##FFFFFF
##7F31511.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4352
Deuteranopia (green-blind)
#53524F
Tritanopia (blue-blind)
#892B3D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f3151;
/* rgb */ color: rgb(127, 49, 81);
/* oklch */ color: oklch(43.3% 0.113 357.3);
Tailwind
colors: {
  custom: {
    50: '#a76d81',
    500: '#7f3151',
    950: '#000000',
  },
}
SCSS
$custom: #7f3151;
$custom-light: #a76d81;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3151",
  "rgb": {
    "r": 127,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 335.385,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43279,
    "c": 0.11329,
    "h": 357.3
  },
  "luminance": 0.07303
}

Semantic roles & 50–950 ramp

primary
#7F3151
secondary
#60AB8D
accent
#D49F54
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7F3151

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

Preview Lab → · Contrast checker → · Palette generator →

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