#A1254E#A1254E

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

Color values

HEX#A1254E
RGBrgb(161, 37, 78)
HSLhsl(340, 63%, 39%)
HSVhsv(340, 77%, 63%)
CMYKcmyk(0%, 77%, 51.6%, 36.9%)
CIE-LABlab(36.84, 52.48, 6.82)
CIE-LCHlch(36.84, 52.92, 7.40°)
OKLaboklab(47.64% 0.1602 0.0178)
OKLCHoklch(47.64% 0.161 6.3)
XYZxyz(16.7361, 9.4526, 8.1495)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1254E #25A178
analogous
#A1258C #A1254E #A13A25
triadic
#A1254E #4EA125 #254EA1
tetradic
#A1254E #8CA125 #25A178 #3A25A1
square
#A1254E #8CA125 #25A178 #3A25A1
split-complementary
#A1254E #25A13A #258CA1
monochromatic
#3D0E1E #6F1A36 #A1254E #D03367 #DC658C

Accessibility & contrast

On white

7.27
#A1254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A1254E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1254E#FFFFFF#000000##FFFFFF
##A1254E1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44474F
Deuteranopia (green-blind)
#65604B
Tritanopia (blue-blind)
#B00237
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a1254e;
/* rgb */ color: rgb(161, 37, 78);
/* oklch */ color: oklch(47.6% 0.161 6.3);
Tailwind
colors: {
  custom: {
    50: '#c36b7f',
    500: '#a1254e',
    950: '#000000',
  },
}
SCSS
$custom: #a1254e;
$custom-light: #c36b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1254e",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 340.161,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47641,
    "c": 0.1612,
    "h": 6.3
  },
  "luminance": 0.0945
}

Semantic roles & 50–950 ramp

primary
#A1254E
secondary
#61C1A1
accent
#E6B042
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A1254E

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

Preview Lab → · Contrast checker → · Palette generator →

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