#A1254F#A1254F

#A1254F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.161 H 5.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#A1254F
RGBrgb(161, 37, 79)
HSLhsl(340, 63%, 39%)
HSVhsv(340, 77%, 63%)
CMYKcmyk(0%, 77%, 50.9%, 36.9%)
CIE-LABlab(36.87, 52.57, 6.22)
CIE-LCHlch(36.87, 52.94, 6.74°)
OKLaboklab(47.67% 0.1606 0.0163)
OKLCHoklch(47.67% 0.161 5.8)
XYZxyz(16.7723, 9.4670, 8.3398)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1254F #25A177
analogous
#A1258D #A1254F #A13925
triadic
#A1254F #4FA125 #254FA1
tetradic
#A1254F #8DA125 #25A177 #3925A1
square
#A1254F #8DA125 #25A177 #3925A1
split-complementary
#A1254F #25A139 #258DA1
monochromatic
#3D0E1E #6F1A37 #A1254F #D03368 #DC658D

Accessibility & contrast

On white

7.26
#A1254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A1254F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1254F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1254F#FFFFFF#000000##FFFFFF
##A1254F1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444750
Deuteranopia (green-blind)
#65604C
Tritanopia (blue-blind)
#B00337
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a1254f;
/* rgb */ color: rgb(161, 37, 79);
/* oklch */ color: oklch(47.7% 0.161 5.8);
Tailwind
colors: {
  custom: {
    50: '#c36c80',
    500: '#a1254f',
    950: '#000000',
  },
}
SCSS
$custom: #a1254f;
$custom-light: #c36c80;
$custom-dark: #000000;
JSON
{
  "hex": "#a1254f",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 339.677,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47669,
    "c": 0.16142,
    "h": 5.8
  },
  "luminance": 0.09465
}

Semantic roles & 50–950 ramp

primary
#A1254F
secondary
#61C1A0
accent
#E6AE42
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A1254F

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

Preview Lab → · Contrast checker → · Palette generator →

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