#7B274B#7B274B

#7B274B is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.1% C 0.122 H 357.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7B274B
RGBrgb(123, 39, 75)
HSLhsl(334, 52%, 32%)
HSVhsv(334, 68%, 48%)
CMYKcmyk(0%, 68.3%, 39%, 51.8%)
CIE-LABlab(29.84, 39.74, -2.25)
CIE-LCHlch(29.84, 39.81, 356.75°)
OKLaboklab(41.11% 0.1216 -0.0054)
OKLCHoklch(41.11% 0.122 357.4)
XYZxyz(10.1645, 6.1712, 7.3111)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B274B #277B57
analogous
#7B2775 #7B274B #7B2D27
triadic
#7B274B #4B7B27 #274B7B
tetradic
#7B274B #757B27 #277B57 #2D277B
square
#7B274B #757B27 #277B57 #2D277B
split-complementary
#7B274B #277B2D #27757B
monochromatic
#1E0A12 #4D182F #7B274B #A93667 #C95486

Accessibility & contrast

On white

9.40
#7B274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7B274B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B274B
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B274B#FFFFFF#000000##FFFFFF
##7B274B1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363C4C
Deuteranopia (green-blind)
#4D4C49
Tritanopia (blue-blind)
#851F36
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b274b;
/* rgb */ color: rgb(123, 39, 75);
/* oklch */ color: oklch(41.1% 0.122 357.4);
Tailwind
colors: {
  custom: {
    50: '#a5677d',
    500: '#7b274b',
    950: '#000000',
  },
}
SCSS
$custom: #7b274b;
$custom-light: #a5677d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b274b",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 334.286,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41111,
    "c": 0.1217,
    "h": 357.4
  },
  "luminance": 0.0617
}

Semantic roles & 50–950 ramp

primary
#7B274B
secondary
#51AD85
accent
#DB9E4C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B274B

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

Preview Lab → · Contrast checker → · Palette generator →

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