#A1254C#A1254C

#A1254C is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.161 H 7.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A1254C
RGBrgb(161, 37, 76)
HSLhsl(341, 63%, 39%)
HSVhsv(341, 77%, 63%)
CMYKcmyk(0%, 77%, 52.8%, 36.9%)
CIE-LABlab(36.79, 52.32, 8.03)
CIE-LCHlch(36.79, 52.93, 8.73°)
OKLaboklab(47.59% 0.1595 0.0207)
OKLCHoklch(47.59% 0.161 7.4)
XYZxyz(16.6655, 9.4243, 7.7776)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1254C #25A17A
analogous
#A1258A #A1254C #A13C25
triadic
#A1254C #4CA125 #254CA1
tetradic
#A1254C #8AA125 #25A17A #3C25A1
square
#A1254C #8AA125 #25A17A #3C25A1
split-complementary
#A1254C #25A13C #258AA1
monochromatic
#3D0E1D #6F1A35 #A1254C #D03364 #DC658A

Accessibility & contrast

On white

7.28
#A1254C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A1254C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1254C
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1254C#FFFFFF#000000##FFFFFF
##A1254C1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474D
Deuteranopia (green-blind)
#655F49
Tritanopia (blue-blind)
#B00036
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a1254c;
/* rgb */ color: rgb(161, 37, 76);
/* oklch */ color: oklch(47.6% 0.161 7.4);
Tailwind
colors: {
  custom: {
    50: '#c36b7d',
    500: '#a1254c',
    950: '#000000',
  },
}
SCSS
$custom: #a1254c;
$custom-light: #c36b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1254c",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 341.129,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47585,
    "c": 0.16079,
    "h": 7.4
  },
  "luminance": 0.09422
}

Semantic roles & 50–950 ramp

primary
#A1254C
secondary
#61C1A3
accent
#E6B242
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #A1254C

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

Preview Lab → · Contrast checker → · Palette generator →

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