#7B245E#7B245E

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

Color values

HEX#7B245E
RGBrgb(123, 36, 94)
HSLhsl(320, 55%, 31%)
HSVhsv(320, 71%, 48%)
CMYKcmyk(0%, 70.7%, 23.6%, 51.8%)
CIE-LABlab(30.11, 43.56, -14.29)
CIE-LCHlch(30.11, 45.85, 341.84°)
OKLaboklab(41.55% 0.1311 -0.0381)
OKLCHoklch(41.55% 0.137 343.8)
XYZxyz(10.8200, 6.2819, 11.2302)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B245E #247B41
analogous
#6C247B #7B245E #7B2432
triadic
#7B245E #5E7B24 #245E7B
tetradic
#7B245E #7B6C24 #247B41 #24327B
square
#7B245E #7B6C24 #247B41 #24327B
split-complementary
#7B245E #327B24 #247B6C
monochromatic
#1C0816 #4C163A #7B245E #AA3282 #CB4EA2

Accessibility & contrast

On white

9.31
#7B245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B245E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B245E#FFFFFF#000000##FFFFFF
##7B245E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E60
Deuteranopia (green-blind)
#474C5C
Tritanopia (blue-blind)
#83243D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b245e;
/* rgb */ color: rgb(123, 36, 94);
/* oklch */ color: oklch(41.6% 0.137 343.8);
Tailwind
colors: {
  custom: {
    50: '#a4668b',
    500: '#7b245e',
    950: '#000000',
  },
}
SCSS
$custom: #7b245e;
$custom-light: #a4668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b245e",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 320,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41553,
    "c": 0.13652,
    "h": 343.8
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#7B245E
secondary
#4DAD6D
accent
#DE7B4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B245E

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

Preview Lab → · Contrast checker → · Palette generator →

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