#7B2F4B#7B2F4B

#7B2F4B is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.1% C 0.110 H 360.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7B2F4B
RGBrgb(123, 47, 75)
HSLhsl(338, 45%, 33%)
HSVhsv(338, 62%, 48%)
CMYKcmyk(0%, 61.8%, 39%, 51.8%)
CIE-LABlab(31.24, 35.96, -0.20)
CIE-LCHlch(31.24, 35.96, 359.68°)
OKLaboklab(42.15% 0.1097 -0.0001)
OKLCHoklch(42.15% 0.11 0)
XYZxyz(10.4555, 6.7531, 7.4081)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F4B #2F7B5F
analogous
#7B2F71 #7B2F4B #7B392F
triadic
#7B2F4B #4B7B2F #2F4B7B
tetradic
#7B2F4B #717B2F #2F7B5F #392F7B
square
#7B2F4B #717B2F #2F7B5F #392F7B
split-complementary
#7B2F4B #2F7B39 #2F717B
monochromatic
#220D15 #4F1E30 #7B2F4B #A74066 #C36285

Accessibility & contrast

On white

8.93
#7B2F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7B2F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2F4B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2F4B#FFFFFF#000000##FFFFFF
##7B2F4B1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C404C
Deuteranopia (green-blind)
#504F49
Tritanopia (blue-blind)
#85283A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b2f4b;
/* rgb */ color: rgb(123, 47, 75);
/* oklch */ color: oklch(42.1% 0.110 360.0);
Tailwind
colors: {
  custom: {
    50: '#a46b7d',
    500: '#7b2f4b',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f4b;
$custom-light: #a46b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f4b",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 75
  },
  "hsl": {
    "h": 337.895,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42149,
    "c": 0.10971,
    "h": 360
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#7B2F4B
secondary
#5CAA8D
accent
#D4A553
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7B2F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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