#7B246B#7B246B

#7B246B is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.146 H 336.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#7B246B
RGBrgb(123, 36, 107)
HSLhsl(311, 55%, 31%)
HSVhsv(311, 71%, 48%)
CMYKcmyk(0%, 70.7%, 13%, 51.8%)
CIE-LABlab(30.72, 45.57, -21.73)
CIE-LCHlch(30.72, 50.48, 334.51°)
OKLaboklab(42.2% 0.1334 -0.0591)
OKLCHoklch(42.2% 0.146 336.1)
XYZxyz(11.4533, 6.5352, 14.5653)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B246B #247B34
analogous
#5F247B #7B246B #7B243F
triadic
#7B246B #6B7B24 #246B7B
tetradic
#7B246B #7B5F24 #247B34 #243F7B
square
#7B246B #7B5F24 #247B34 #243F7B
split-complementary
#7B246B #3F7B24 #247B5F
monochromatic
#1C0819 #4C1642 #7B246B #AA3294 #CB4EB4

Accessibility & contrast

On white

9.10
#7B246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7B246B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B246B
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B246B#FFFFFF#000000##FFFFFF
##7B246B1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25406D
Deuteranopia (green-blind)
#424D69
Tritanopia (blue-blind)
#812944
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b246b;
/* rgb */ color: rgb(123, 36, 107);
/* oklch */ color: oklch(42.2% 0.146 336.1);
Tailwind
colors: {
  custom: {
    50: '#a46795',
    500: '#7b246b',
    950: '#000000',
  },
}
SCSS
$custom: #7b246b;
$custom-light: #a46795;
$custom-dark: #000000;
JSON
{
  "hex": "#7b246b",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 311.034,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42199,
    "c": 0.14593,
    "h": 336.1
  },
  "luminance": 0.06534
}

Semantic roles & 50–950 ramp

primary
#7B246B
secondary
#4DAD5F
accent
#DE654A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B246B

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

Preview Lab → · Contrast checker → · Palette generator →

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