#7B245F#7B245F

#7B245F is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.137 H 343.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#7B245F
RGBrgb(123, 36, 95)
HSLhsl(319, 55%, 31%)
HSVhsv(319, 71%, 48%)
CMYKcmyk(0%, 70.7%, 22.8%, 51.8%)
CIE-LABlab(30.16, 43.71, -14.87)
CIE-LCHlch(30.16, 46.17, 341.21°)
OKLaboklab(41.6% 0.1313 -0.0397)
OKLCHoklch(41.6% 0.137 343.2)
XYZxyz(10.8652, 6.3000, 11.4681)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B245F #247B40
analogous
#6B247B #7B245F #7B2433
triadic
#7B245F #5F7B24 #245F7B
tetradic
#7B245F #7B6B24 #247B40 #24337B
square
#7B245F #7B6B24 #247B40 #24337B
split-complementary
#7B245F #337B24 #247B6B
monochromatic
#1C0816 #4C163A #7B245F #AA3284 #CB4EA3

Accessibility & contrast

On white

9.29
#7B245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7B245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B245F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B245F#FFFFFF#000000##FFFFFF
##7B245F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3E61
Deuteranopia (green-blind)
#464C5D
Tritanopia (blue-blind)
#83243E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b245f;
/* rgb */ color: rgb(123, 36, 95);
/* oklch */ color: oklch(41.6% 0.137 343.2);
Tailwind
colors: {
  custom: {
    50: '#a4668c',
    500: '#7b245f',
    950: '#000000',
  },
}
SCSS
$custom: #7b245f;
$custom-light: #a4668c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b245f",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 319.31,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.416,
    "c": 0.13719,
    "h": 343.2
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#7B245F
secondary
#4DAD6C
accent
#DE794A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B245F

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

Preview Lab → · Contrast checker → · Palette generator →

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