#7F2B5F#7F2B5F

#7F2B5F is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.1% C 0.130 H 345.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7F2B5F
RGBrgb(127, 43, 95)
HSLhsl(323, 49%, 33%)
HSVhsv(323, 66%, 50%)
CMYKcmyk(0%, 66.1%, 25.2%, 50.2%)
CIE-LABlab(31.96, 41.88, -12.05)
CIE-LCHlch(31.96, 43.58, 343.95°)
OKLaboklab(43.06% 0.1263 -0.0319)
OKLCHoklch(43.06% 0.13 345.8)
XYZxyz(11.6823, 7.0671, 11.5731)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B5F #2B7F4B
analogous
#752B7F #7F2B5F #7F2B35
triadic
#7F2B5F #5F7F2B #2B5F7F
tetradic
#7F2B5F #7F752B #2B7F4B #2B357F
square
#7F2B5F #7F752B #2B7F4B #2B357F
split-complementary
#7F2B5F #357F2B #2B7F75
monochromatic
#240C1B #511C3D #7F2B5F #AD3A81 #C85C9F

Accessibility & contrast

On white

8.70
#7F2B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7F2B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B5F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B5F#FFFFFF#000000##FFFFFF
##7F2B5F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344261
Deuteranopia (green-blind)
#4C505D
Tritanopia (blue-blind)
#872A41
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2b5f;
/* rgb */ color: rgb(127, 43, 95);
/* oklch */ color: oklch(43.1% 0.130 345.8);
Tailwind
colors: {
  custom: {
    50: '#a76a8c',
    500: '#7f2b5f',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b5f;
$custom-light: #a76a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b5f",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 322.857,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43057,
    "c": 0.13028,
    "h": 345.8
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#7F2B5F
secondary
#58AE79
accent
#D9834F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7F2B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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