#7B274F#7B274F

#7B274F is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.124 H 354.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7B274F
RGBrgb(123, 39, 79)
HSLhsl(331, 52%, 32%)
HSVhsv(331, 68%, 48%)
CMYKcmyk(0%, 68.3%, 35.8%, 51.8%)
CIE-LABlab(29.98, 40.24, -4.68)
CIE-LCHlch(29.98, 40.51, 353.36°)
OKLaboklab(41.26% 0.1229 -0.0119)
OKLCHoklch(41.26% 0.124 354.5)
XYZxyz(10.3058, 6.2277, 8.0550)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B274F #277B53
analogous
#7B2779 #7B274F #7B2927
triadic
#7B274F #4F7B27 #274F7B
tetradic
#7B274F #797B27 #277B53 #29277B
square
#7B274F #797B27 #277B53 #29277B
split-complementary
#7B274F #277B29 #27797B
monochromatic
#1E0A13 #4D1831 #7B274F #A9366D #C9548B

Accessibility & contrast

On white

9.35
#7B274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B274F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B274F#FFFFFF#000000##FFFFFF
##7B274F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353D50
Deuteranopia (green-blind)
#4C4C4D
Tritanopia (blue-blind)
#852137
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b274f;
/* rgb */ color: rgb(123, 39, 79);
/* oklch */ color: oklch(41.3% 0.124 354.5);
Tailwind
colors: {
  custom: {
    50: '#a56780',
    500: '#7b274f',
    950: '#000000',
  },
}
SCSS
$custom: #7b274f;
$custom-light: #a56780;
$custom-dark: #000000;
JSON
{
  "hex": "#7b274f",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 331.429,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41259,
    "c": 0.12351,
    "h": 354.5
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#7B274F
secondary
#51AD81
accent
#DB974C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B274F

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

Preview Lab → · Contrast checker → · Palette generator →

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