#AA254E#AA254E

#AA254E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.169 H 8.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AA254E
RGBrgb(170, 37, 78)
HSLhsl(342, 64%, 41%)
HSVhsv(342, 78%, 67%)
CMYKcmyk(0%, 78.2%, 54.1%, 33.3%)
CIE-LABlab(38.59, 55.07, 9.53)
CIE-LCHlch(38.59, 55.89, 9.82°)
OKLaboklab(49.25% 0.1676 0.0244)
OKLCHoklch(49.25% 0.169 8.3)
XYZxyz(18.6160, 10.4219, 8.2376)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA254E #25AA81
analogous
#AA2590 #AA254E #AA3F25
triadic
#AA254E #4EAA25 #254EAA
tetradic
#AA254E #90AA25 #25AA81 #3F25AA
square
#AA254E #90AA25 #25AA81 #3F25AA
split-complementary
#AA254E #25AA3F #2590AA
monochromatic
#450F20 #781A37 #AA254E #D43868 #DF6B8E

Accessibility & contrast

On white

6.81
#AA254E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AA254E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA254E
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA254E#FFFFFF#000000##FFFFFF
##AA254E1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484A4F
Deuteranopia (green-blind)
#6B644B
Tritanopia (blue-blind)
#BA0037
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #aa254e;
/* rgb */ color: rgb(170, 37, 78);
/* oklch */ color: oklch(49.2% 0.169 8.3);
Tailwind
colors: {
  custom: {
    50: '#ca6d7f',
    500: '#aa254e',
    950: '#000000',
  },
}
SCSS
$custom: #aa254e;
$custom-light: #ca6d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa254e",
  "rgb": {
    "r": 170,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 341.504,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49245,
    "c": 0.16939,
    "h": 8.3
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

primary
#AA254E
secondary
#66C5A8
accent
#E7B441
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #AA254E

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

Preview Lab → · Contrast checker → · Palette generator →

#AA254E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva