#AF234E#AF234E

#AF234E is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.176 H 8.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AF234E
RGBrgb(175, 35, 78)
HSLhsl(342, 67%, 41%)
HSVhsv(342, 80%, 69%)
CMYKcmyk(0%, 80%, 55.4%, 31.4%)
CIE-LABlab(39.36, 57.07, 10.75)
CIE-LCHlch(39.36, 58.08, 10.67°)
OKLaboklab(49.99% 0.1735 0.0273)
OKLCHoklch(49.99% 0.176 8.9)
XYZxyz(19.6573, 10.8689, 8.2691)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF234E #23AF84
analogous
#AF2394 #AF234E #AF3E23
triadic
#AF234E #4EAF23 #234EAF
tetradic
#AF234E #94AF23 #23AF84 #3E23AF
square
#AF234E #94AF23 #23AF84 #3E23AF
split-complementary
#AF234E #23AF3E #2394AF
monochromatic
#490F21 #7C1937 #AF234E #D73869 #E16B8F

Accessibility & contrast

On white

6.62
#AF234E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AF234E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF234E
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF234E#FFFFFF#000000##FFFFFF
##AF234E1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494B4F
Deuteranopia (green-blind)
#6E674B
Tritanopia (blue-blind)
#BF0036
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af234e;
/* rgb */ color: rgb(175, 35, 78);
/* oklch */ color: oklch(50.0% 0.176 8.9);
Tailwind
colors: {
  custom: {
    50: '#ce6d7f',
    500: '#af234e',
    950: '#000000',
  },
}
SCSS
$custom: #af234e;
$custom-light: #ce6d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#af234e",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 78
  },
  "hsl": {
    "h": 341.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49987,
    "c": 0.17565,
    "h": 8.9
  },
  "luminance": 0.10866
}

Semantic roles & 50–950 ramp

primary
#AF234E
secondary
#66C7AA
accent
#EAB53E
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF234E

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

Preview Lab → · Contrast checker → · Palette generator →

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