#A6254E#A6254E

#A6254E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.166 H 7.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A6254E
RGBrgb(166, 37, 78)
HSLhsl(341, 64%, 40%)
HSVhsv(341, 78%, 65%)
CMYKcmyk(0%, 77.7%, 53%, 34.9%)
CIE-LABlab(37.81, 53.93, 8.33)
CIE-LCHlch(37.81, 54.57, 8.78°)
OKLaboklab(48.53% 0.1644 0.0215)
OKLCHoklch(48.53% 0.166 7.4)
XYZxyz(17.7642, 9.9827, 8.1977)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6254E #25A67D
analogous
#A6258F #A6254E #A63C25
triadic
#A6254E #4EA625 #254EA6
tetradic
#A6254E #8FA625 #25A67D #3C25A6
square
#A6254E #8FA625 #25A67D #3C25A6
split-complementary
#A6254E #25A63C #258FA6
monochromatic
#420F1F #741A36 #A6254E #D23668 #DD688D

Accessibility & contrast

On white

7.01
#A6254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A6254E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6254E
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6254E#FFFFFF#000000##FFFFFF
##A6254E1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46494F
Deuteranopia (green-blind)
#68624B
Tritanopia (blue-blind)
#B50037
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a6254e;
/* rgb */ color: rgb(166, 37, 78);
/* oklch */ color: oklch(48.5% 0.166 7.4);
Tailwind
colors: {
  custom: {
    50: '#c76c7f',
    500: '#a6254e',
    950: '#000000',
  },
}
SCSS
$custom: #a6254e;
$custom-light: #c76c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6254e",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 340.93,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48531,
    "c": 0.16576,
    "h": 7.4
  },
  "luminance": 0.0998
}

Semantic roles & 50–950 ramp

primary
#A6254E
secondary
#64C3A5
accent
#E7B241
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #A6254E

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

Preview Lab → · Contrast checker → · Palette generator →

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