#7B274E#7B274E

#7B274E is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.2% C 0.123 H 355.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#7B274E
RGBrgb(123, 39, 78)
HSLhsl(332, 52%, 32%)
HSVhsv(332, 68%, 48%)
CMYKcmyk(0%, 68.3%, 36.6%, 51.8%)
CIE-LABlab(29.94, 40.11, -4.08)
CIE-LCHlch(29.94, 40.32, 354.19°)
OKLaboklab(41.22% 0.1226 -0.0102)
OKLCHoklch(41.22% 0.123 355.2)
XYZxyz(10.2696, 6.2132, 7.8647)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B274E #277B54
analogous
#7B2778 #7B274E #7B2A27
triadic
#7B274E #4E7B27 #274E7B
tetradic
#7B274E #787B27 #277B54 #2A277B
square
#7B274E #787B27 #277B54 #2A277B
split-complementary
#7B274E #277B2A #27787B
monochromatic
#1E0A13 #4D1831 #7B274E #A9366B #C9548A

Accessibility & contrast

On white

9.36
#7B274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7B274E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B274E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B274E#FFFFFF#000000##FFFFFF
##7B274E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353D4F
Deuteranopia (green-blind)
#4C4C4C
Tritanopia (blue-blind)
#852037
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b274e;
/* rgb */ color: rgb(123, 39, 78);
/* oklch */ color: oklch(41.2% 0.123 355.2);
Tailwind
colors: {
  custom: {
    50: '#a5677f',
    500: '#7b274e',
    950: '#000000',
  },
}
SCSS
$custom: #7b274e;
$custom-light: #a5677f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b274e",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 332.143,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41221,
    "c": 0.12304,
    "h": 355.2
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#7B274E
secondary
#51AD82
accent
#DB994C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B274E

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

Preview Lab → · Contrast checker → · Palette generator →

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