#7A254B#7A254B

#7A254B is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.7% C 0.124 H 356.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7A254B
RGBrgb(122, 37, 75)
HSLhsl(333, 53%, 31%)
HSVhsv(333, 70%, 48%)
CMYKcmyk(0%, 69.7%, 38.5%, 52.2%)
CIE-LABlab(29.34, 40.30, -3.02)
CIE-LCHlch(29.34, 40.41, 355.71°)
OKLaboklab(40.7% 0.1233 -0.0074)
OKLCHoklch(40.7% 0.124 356.6)
XYZxyz(9.9582, 5.9699, 7.2831)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A254B #257A54
analogous
#7A2575 #7A254B #7A2925
triadic
#7A254B #4B7A25 #254B7A
tetradic
#7A254B #757A25 #257A54 #29257A
square
#7A254B #757A25 #257A54 #29257A
split-complementary
#7A254B #257A29 #25757A
monochromatic
#1C0911 #4B172E #7A254B #A93368 #CA5086

Accessibility & contrast

On white

9.57
#7A254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7A254B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A254B
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A254B#FFFFFF#000000##FFFFFF
##7A254B1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4C
Deuteranopia (green-blind)
#4C4B49
Tritanopia (blue-blind)
#841D35
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a254b;
/* rgb */ color: rgb(122, 37, 75);
/* oklch */ color: oklch(40.7% 0.124 356.6);
Tailwind
colors: {
  custom: {
    50: '#a4667d',
    500: '#7a254b',
    950: '#000000',
  },
}
SCSS
$custom: #7a254b;
$custom-light: #a4667d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a254b",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 333.176,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40703,
    "c": 0.12355,
    "h": 356.6
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#7A254B
secondary
#4EAC82
accent
#DD9C4B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A254B

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

Preview Lab → · Contrast checker → · Palette generator →

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