#A1254B#A1254B

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

Color values

HEX#A1254B
RGBrgb(161, 37, 75)
HSLhsl(342, 63%, 39%)
HSVhsv(342, 77%, 63%)
CMYKcmyk(0%, 77%, 53.4%, 36.9%)
CIE-LABlab(36.76, 52.23, 8.64)
CIE-LCHlch(36.76, 52.94, 9.39°)
OKLaboklab(47.56% 0.1591 0.0222)
OKLCHoklch(47.56% 0.161 7.9)
XYZxyz(16.6310, 9.4105, 7.5959)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1254B #25A17B
analogous
#A12589 #A1254B #A13D25
triadic
#A1254B #4BA125 #254BA1
tetradic
#A1254B #89A125 #25A17B #3D25A1
square
#A1254B #89A125 #25A17B #3D25A1
split-complementary
#A1254B #25A13D #2589A1
monochromatic
#3D0E1D #6F1A34 #A1254B #D03363 #DC6589

Accessibility & contrast

On white

7.29
#A1254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A1254B
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1254B#FFFFFF#000000##FFFFFF
##A1254B1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474C
Deuteranopia (green-blind)
#655F48
Tritanopia (blue-blind)
#B00035
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a1254b;
/* rgb */ color: rgb(161, 37, 75);
/* oklch */ color: oklch(47.6% 0.161 7.9);
Tailwind
colors: {
  custom: {
    50: '#c36b7d',
    500: '#a1254b',
    950: '#000000',
  },
}
SCSS
$custom: #a1254b;
$custom-light: #c36b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1254b",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 341.613,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47557,
    "c": 0.1606,
    "h": 7.9
  },
  "luminance": 0.09408
}

Semantic roles & 50–950 ramp

primary
#A1254B
secondary
#61C1A4
accent
#E6B442
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #A1254B

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

Preview Lab → · Contrast checker → · Palette generator →

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