#7F2155#7F2155

#7F2155 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.138 H 350.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7F2155
RGBrgb(127, 33, 85)
HSLhsl(327, 59%, 31%)
HSVhsv(327, 74%, 50%)
CMYKcmyk(0%, 74%, 33.1%, 50.2%)
CIE-LABlab(30.05, 44.69, -8.44)
CIE-LCHlch(30.05, 45.48, 349.31°)
OKLaboklab(41.53% 0.1366 -0.0219)
OKLCHoklch(41.53% 0.138 350.9)
XYZxyz(10.9365, 6.2569, 9.2243)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2155 #217F4B
analogous
#7A217F #7F2155 #7F2126
triadic
#7F2155 #557F21 #21557F
tetradic
#7F2155 #7F7A21 #217F4B #21267F
square
#7F2155 #7F7A21 #217F4B #21267F
split-complementary
#7F2155 #267F21 #217F7A
monochromatic
#1E0814 #4E1434 #7F2155 #B02E76 #D04A94

Accessibility & contrast

On white

9.33
#7F2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7F2155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2155
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2155#FFFFFF#000000##FFFFFF
##7F21551.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303C56
Deuteranopia (green-blind)
#4B4D53
Tritanopia (blue-blind)
#891B38
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2155;
/* rgb */ color: rgb(127, 33, 85);
/* oklch */ color: oklch(41.5% 0.138 350.9);
Tailwind
colors: {
  custom: {
    50: '#a86584',
    500: '#7f2155',
    950: '#000000',
  },
}
SCSS
$custom: #7f2155;
$custom-light: #a86584;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2155",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 326.809,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41526,
    "c": 0.13831,
    "h": 350.9
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#7F2155
secondary
#4AB278
accent
#E28C46
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F2155

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

Preview Lab → · Contrast checker → · Palette generator →

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