#7F2D61#7F2D61

#7F2D61 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.4% C 0.129 H 344.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7F2D61
RGBrgb(127, 45, 97)
HSLhsl(322, 48%, 34%)
HSVhsv(322, 65%, 50%)
CMYKcmyk(0%, 64.6%, 23.6%, 50.2%)
CIE-LABlab(32.38, 41.26, -12.70)
CIE-LCHlch(32.38, 43.17, 342.89°)
OKLaboklab(43.39% 0.124 -0.0337)
OKLCHoklch(43.39% 0.129 344.8)
XYZxyz(11.8488, 7.2530, 12.0829)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D61 #2D7F4B
analogous
#742D7F #7F2D61 #7F2D38
triadic
#7F2D61 #617F2D #2D617F
tetradic
#7F2D61 #7F742D #2D7F4B #2D387F
square
#7F2D61 #7F742D #2D7F4B #2D387F
split-complementary
#7F2D61 #387F2D #2D7F74
monochromatic
#250D1C #521D3E #7F2D61 #AC3D84 #C760A1

Accessibility & contrast

On white

8.57
#7F2D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7F2D61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D61
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D61#FFFFFF#000000##FFFFFF
##7F2D611.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354363
Deuteranopia (green-blind)
#4D515F
Tritanopia (blue-blind)
#872C43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2d61;
/* rgb */ color: rgb(127, 45, 97);
/* oklch */ color: oklch(43.4% 0.129 344.8);
Tailwind
colors: {
  custom: {
    50: '#a76b8e',
    500: '#7f2d61',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d61;
$custom-light: #a76b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d61",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 97
  },
  "hsl": {
    "h": 321.951,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43391,
    "c": 0.12853,
    "h": 344.8
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#7F2D61
secondary
#5BAD79
accent
#D78251
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F2D61

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

Preview Lab → · Contrast checker → · Palette generator →

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