#7B2248#7B2248

#7B2248 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.127 H 358.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7B2248
RGBrgb(123, 34, 72)
HSLhsl(334, 57%, 31%)
HSVhsv(334, 72%, 48%)
CMYKcmyk(0%, 72.4%, 41.5%, 51.8%)
CIE-LABlab(28.96, 41.53, -1.56)
CIE-LCHlch(28.96, 41.56, 357.85°)
OKLaboklab(40.43% 0.1273 -0.0036)
OKLCHoklch(40.43% 0.127 358.4)
XYZxyz(9.9108, 5.8241, 6.7319)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2248 #227B55
analogous
#7B2274 #7B2248 #7B2822
triadic
#7B2248 #487B22 #22487B
tetradic
#7B2248 #747B22 #227B55 #28227B
square
#7B2248 #747B22 #227B55 #28227B
split-complementary
#7B2248 #227B28 #22747B
monochromatic
#1B0710 #4B152C #7B2248 #AB2F64 #CD4A82

Accessibility & contrast

On white

9.70
#7B2248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B2248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2248
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2248#FFFFFF#000000##FFFFFF
##7B22481.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A49
Deuteranopia (green-blind)
#4C4A46
Tritanopia (blue-blind)
#851832
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b2248;
/* rgb */ color: rgb(123, 34, 72);
/* oklch */ color: oklch(40.4% 0.127 358.4);
Tailwind
colors: {
  custom: {
    50: '#a5647a',
    500: '#7b2248',
    950: '#000000',
  },
}
SCSS
$custom: #7b2248;
$custom-light: #a5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2248",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 334.382,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4043,
    "c": 0.12733,
    "h": 358.4
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#7B2248
secondary
#4BAE84
accent
#E09F48
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B2248

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

Preview Lab → · Contrast checker → · Palette generator →

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