#7B245D#7B245D

#7B245D is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.136 H 344.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7B245D
RGBrgb(123, 36, 93)
HSLhsl(321, 55%, 31%)
HSVhsv(321, 71%, 48%)
CMYKcmyk(0%, 70.7%, 24.4%, 51.8%)
CIE-LABlab(30.07, 43.42, -13.71)
CIE-LCHlch(30.07, 45.53, 342.48°)
OKLaboklab(41.51% 0.1309 -0.0365)
OKLCHoklch(41.51% 0.136 344.4)
XYZxyz(10.7754, 6.2641, 10.9954)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B245D #247B42
analogous
#6D247B #7B245D #7B2431
triadic
#7B245D #5D7B24 #245D7B
tetradic
#7B245D #7B6D24 #247B42 #24317B
square
#7B245D #7B6D24 #247B42 #24317B
split-complementary
#7B245D #317B24 #247B6D
monochromatic
#1C0815 #4C1639 #7B245D #AA3281 #CB4EA0

Accessibility & contrast

On white

9.32
#7B245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7B245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B245D
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B245D#FFFFFF#000000##FFFFFF
##7B245D1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5F
Deuteranopia (green-blind)
#474C5B
Tritanopia (blue-blind)
#83233D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b245d;
/* rgb */ color: rgb(123, 36, 93);
/* oklch */ color: oklch(41.5% 0.136 344.4);
Tailwind
colors: {
  custom: {
    50: '#a4668b',
    500: '#7b245d',
    950: '#000000',
  },
}
SCSS
$custom: #7b245d;
$custom-light: #a4668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b245d",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 320.69,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.13586,
    "h": 344.4
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#7B245D
secondary
#4DAD6E
accent
#DE7D4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B245D

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

Preview Lab → · Contrast checker → · Palette generator →

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